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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software