iOS SDK Version

FBSDKLoginManagerLoginResult

@interfaceFBSDKLoginManagerLoginResult:NSObject
Describes the result of a login attempt.
  • Unavailable
    Undocumented

    Declaration

    Objective-C
    -(instancetype)initNS_UNAVAILABLE;
  • Unavailable
    Undocumented

    Declaration

    Objective-C
    +(instancetype)newNS_UNAVAILABLE;
  • the access token.

    Declaration

    Objective-C
    @property(nonatomic,copy,readwrite,nullable)FBSDKAccessToken*token;
    Swift
    @NSCopyingvartoken:FBSDKAccessToken?{getset}
  • the authentication token.

    Declaration

    Objective-C
    @property(nonatomic,copy,readwrite,nullable)FBSDKAuthenticationToken*authenticationToken;
    Swift
    @NSCopyingvarauthenticationToken:FBSDKAuthenticationToken?{getset}
  • whether the login was cancelled by the user.

    Declaration

    Objective-C
    @property(nonatomic,readonly)BOOLisCancelled;
    Swift
    varisCancelled:Bool{get}
  • the set of permissions granted by the user in the associated request.
    inspect the token’s permissions set for a complete list.

    Declaration

    Objective-C
    @property(nonatomic,copy,readwrite)NSSet<NSString*>*_NonnullgrantedPermissions;
    Swift
    vargrantedPermissions:Set<String>{getset}
  • the set of permissions declined by the user in the associated request.
    inspect the token’s permissions set for a complete list.

    Declaration

    Objective-C
    @property(nonatomic,copy,readwrite)NSSet<NSString*>*_NonnulldeclinedPermissions;
    Swift
    vardeclinedPermissions:Set<String>{getset}
  • Initializes a new instance.

    Declaration

    Objective-C
    -(nonnullinstancetype)initWithToken:(nullableFBSDKAccessToken*)tokenauthenticationToken:(nullableFBSDKAuthenticationToken*)authenticationTokenisCancelled:(BOOL)isCancelledgrantedPermissions:(nonnullNSSet<NSString*>*)grantedPermissionsdeclinedPermissions:(nonnullNSSet<NSString*>*)declinedPermissions;
    Swift
    init(token:FBSDKAccessToken?,authenticationToken:FBSDKAuthenticationToken?,isCancelled:Bool,grantedPermissions:Set<String>,declinedPermissions:Set<String>)

    Parameters