Class

ACAccountCredential

An ACAccountCredential object encapsulates the information needed to authenticate a user.

Declaration

class ACAccountCredential : NSObject

Overview

To create an account credential that uses the OAuth open authentication standard, use the init(oAuthToken:tokenSecret:) method.

Topics

Initializing Credentials

init!(oAuthToken: String!, tokenSecret: String!)

Initializes an account credential using OAuth.

init!(oAuth2Token: String!, refreshToken: String!, expiryDate: Date!)

Initializes an account credential using OAuth 2.

Accessing Credential Properties

var oauthToken: String!

The token used for the credential.

Relationships

Inherits From

Conforms To

See Also

Account Management

class ACAccountStore

The object you use to request, manage, and store the user’s account information.

class ACAccount

The information associated with one of the user’s accounts.