iOS SDK Version

AKFAccountKit

@interfaceAKFAccountKit:NSObject
Primary interface for authenticating AccountKit accounts.
  • The version of the Account Kit Graph API used.

    Declaration

    Objective-C
    @property(readonly,copy,nonatomic,class)NSString*_NonnullgraphVersionString;
  • abstract The version of the Account Kit SDK.

    Declaration

    Objective-C
    @property(readonly,copy,nonatomic,class)NSString*_NonnullversionString;
  • Retrieve the current access token, if any.

    Declaration

    Objective-C
    @property(readonly,copy,nonatomic,nullable)id<AKFAccessToken>currentAccessToken;
  • Init Account Kit with a specified response type.

    Declaration

    Objective-C
    -(nonnullinstancetype)initWithResponseType:(AKFResponseType)responseType;
  • Undocumented

    Declaration

    Objective-C
    -(instancetype)initNS_UNAVAILABLE;
  • Undocumented

    Declaration

    Objective-C
    +(instancetype)newNS_UNAVAILABLE;
  • Cancels the pending login request.

    Declaration

    Objective-C
    -(void)cancelLogin;
  • Logs out currently logged in account.

    Declaration

    Objective-C
    -(void)logOut;
  • Logs out currently logged in account asynchronously.

    Declaration

    Objective-C
    -(void)logOut:(nonnullAKFLogoutHandler)handler;
  • Asynchronously returns Account Kit account information

    Declaration

    Objective-C
    -(void)requestAccount:(nonnullAKFRequestAccountHandler)handler;
  • Returns a view controller to be presented to initiate an email login.

    Declaration

    Objective-C
    -(nonnullUIViewController*)viewControllerForEmailLogin;
  • Returns a view controller to be presented to initiate an email login.

    Declaration

    Objective-C
    -(nonnullUIViewController*)viewControllerForEmailLoginWithEmail:(nullableNSString*)emailstate:(nullableNSString*)state;

    Parameters

    email
    the email to be used for login.
    state
    the state for the login request.
  • Returns a view controller to be presented to initiate a phone login.

    Declaration

    Objective-C
    -(nonnullUIViewController*)viewControllerForPhoneLogin;
  • Returns a view controller to be presented to initiate a phone login.

    Declaration

    Objective-C
    -(nonnullUIViewController*)viewControllerForPhoneLoginWithPhoneNumber:(nullableAKFPhoneNumber*)phoneNumberstate:(nullableNSString*)state;

    Parameters

    phoneNumber
    the phone number to be used for login.
    state
    the state for the login request.
  • Returns a view controller to resume a login that was pending when the app shutdown.

    Declaration

    Objective-C
    -(nullableUIViewController*)viewControllerForLoginResume;