WCOAuth2UserInfoFromProvider

@interface WCOAuth2UserInfoFromProvider : NSObject

An instance of WCOAuth2UserInfoFromProvider is returned after a successful OAuth2 authentication with a provider.

  • The OAuth2.0 access token got from the provider. May be further used by the application to invoke some provider’s APIs.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *accessToken;
  • The date the account has been created to the provider in milliseconds since the Unix epoch time.

    Declaration

    Objective-C

    @property (readonly, nonatomic) CGFloat creationDate;
  • A human-readable description of the authenticated end user extracted from the previous profile data. It can be missing if no description can be found.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *userDisplayName;
  • The expiration date of the authentication in seconds since the Unix epoch time.

    Declaration

    Objective-C

    @property (readonly, nonatomic) CGFloat expires;
  • The name of the provider.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *providerName;
  • Dictionary containing user’s profile given by the provider.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSDictionary *providerProfile;
  • The internal identifier of the authenticated end user used by the OAuth2.0 provider.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *providerUID;
  • uid

    The user’s unique identifier to log in to Webcom.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *uid;
  • The Webcom authentication token.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *authToken;