WCAuthInfo

@interface WCAuthInfo : NSObject

An instance of WCAuthInfo is returned after a successful Webcom authentication and contains information about it.

  • The authentication token.

    Declaration

    Objective-C

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

    Swift

    var authToken: String? { get }
  • The user’s email.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSNumber *expires;

    Swift

    var expires: NSNumber? { get }
  • The authentication provider.

    Declaration

    Objective-C

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

    Swift

    var provider: String? { get }
  • uid

    The user’s unique identifier.

    Declaration

    Objective-C

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

    Swift

    var uid: String? { get }