GetSocialAuthIdentity Class Reference

Inherits from NSObject
Declared in GetSocialAuthIdentity.h

Properties and Methods

+ facebookIdentityWithAccessToken:

Creates a Facebook identity with specified access token.

+ (instancetype)facebookIdentityWithAccessToken:(NSString *)accessToken

Parameters

accessToken

Token of Facebook user returned from FB SDK.

Return Value

instance of GetSocialIdentity for Facebook user with specified access token.

Declared In

GetSocialAuthIdentity.h

+ customIdentityForProvider:userId:accessToken:

Create custom identity.

+ (instancetype)customIdentityForProvider:(NSString *)providerName userId:(NSString *)userId accessToken:(NSString *)accessToken

Parameters

providerName

Your custom provider name.

userId

Unique user identifier for your custom provider.

accessToken

Password of the user for your custom provider. It’s a string, provided by the developer and it will be required by the GetSocial SDK to validate any future intent to add this same identity to another user.

Return Value

An instance of GetSocialIdentity for your custom provider.

Discussion

Create custom identity.

Declared In

GetSocialAuthIdentity.h