Inherits from NSObject
Conforms to NSCoding
Declared in AlfrescoOAuthData.h

Overview

The AlfrescoOAuthData stores details required for authentication using OAuth services.

Author: Gavin Cornwell (Alfresco), Tijs Rademakers (Alfresco), Peter Schmidt (Alfresco)

Tasks

Initialisers for OAuth data

Instance Methods

initWithAPIKey:secretKey:

This initialiser is typically used for the first step of authentication, i.e. obtaining the authorization code. The Alfresco default redirect URI is taken as a value @param apiKey @param secretKey

- (id)initWithAPIKey:(NSString *)apiKey secretKey:(NSString *)secretKey

Discussion

This initialiser is typically used for the first step of authentication, i.e. obtaining the authorization code. The Alfresco default redirect URI is taken as a value @param apiKey @param secretKey

Declared In

AlfrescoOAuthData.h

initWithAPIKey:secretKey:jsonDictionary:

This initialised is typically used for subsequent authentication steps, e.g. obtaining the access token or refresh token. The Alfresco default redirect URI is taken as a value @param apiKey @param secretKey @param jsonDictionary

- (id)initWithAPIKey:(NSString *)apiKey secretKey:(NSString *)secretKey jsonDictionary:(NSDictionary *)jsonDictionary

Discussion

This initialised is typically used for subsequent authentication steps, e.g. obtaining the access token or refresh token. The Alfresco default redirect URI is taken as a value @param apiKey @param secretKey @param jsonDictionary

Declared In

AlfrescoOAuthData.h

initWithAPIKey:secretKey:redirectURI:

This initialiser is typically used for the first step of authentication, i.e. obtaining the authorization code. @param apiKey @param secretKey @param redirectURI

- (id)initWithAPIKey:(NSString *)apiKey secretKey:(NSString *)secretKey redirectURI:(NSString *)redirectURI

Discussion

This initialiser is typically used for the first step of authentication, i.e. obtaining the authorization code. @param apiKey @param secretKey @param redirectURI

Declared In

AlfrescoOAuthData.h

initWithAPIKey:secretKey:redirectURI:jsonDictionary:

@param apiKey @param secretKey @param redirectURI @param jsonDictionary

- (id)initWithAPIKey:(NSString *)apiKey secretKey:(NSString *)secretKey redirectURI:(NSString *)redirectURI jsonDictionary:(NSDictionary *)jsonDictionary

Discussion

@param apiKey @param secretKey @param redirectURI @param jsonDictionary

Declared In

AlfrescoOAuthData.h