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;

    Swift

    var accessToken: String? { get }
  • 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;

    Swift

    var creationDate: Int32 { get }
  • 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;

    Swift

    var userDisplayName: String? { get }
  • The expiration date of the authentication in seconds since the Unix epoch time.

    Declaration

    Objective-C

    @property (readonly, nonatomic) CGFloat expires;

    Swift

    var expires: Int32 { get }
  • The name of the provider.

    Declaration

    Objective-C

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

    Swift

    var providerName: String? { get }
  • Dictionary containing user’s profile given by the provider.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSDictionary *providerProfile;

    Swift

    var providerProfile: [AnyHashable : Any]? { get }
  • The internal identifier of the authenticated end user used by the OAuth2.0 provider.

    Declaration

    Objective-C

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

    Swift

    var providerUID: String? { get }
  • uid

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

    Declaration

    Objective-C

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

    Swift

    var uid: String? { get }
  • The Webcom authentication token.

    Declaration

    Objective-C

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

    Swift

    var authToken: String? { get }