FBSDKLoginManagerLoginResult
A more recent version of this class is available. Check out the latest version.

Describes the result of a login attempt.

Superclass:NSObject
Declared in:FBSDKLoginManagerLoginResult.h
Properties
declinedPermissions

The set of permissions declined by the user in the associated request.

@property (copy, nonatomic) NSSet *declinedPermissions;
Discussion:

Inspect the token's permissions set for a complete list.

grantedPermissions

The set of permissions granted by the user in the associated request.

@property (copy, nonatomic) NSSet *grantedPermissions;
Discussion:

Inspect the token's permissions set for a complete list.

isCancelled

Whether the login was cancelled by the user.

@property (readonly, nonatomic) BOOL isCancelled;
token

The access token.

@property (copy, nonatomic) FBSDKAccessToken *token;
Instance Methods
initWithToken:isCancelled:grantedPermissions:declinedPermissions:

Initializes a new instance.

ParameterDescription
token

The access token

isCancelled

Whether the login was cancelled by the user

grantedPermissions

The set of granted permissions

declinedPermissions

The set of declined permissions

- (instancetype)
initWithToken: (FBSDKAccessToken *)token
isCancelled: (BOOL)isCancelled
grantedPermissions: (NSSet *)grantedPermissions
declinedPermissions: (NSSet *)declinedPermissions
NS_DESIGNATED_INITIALIZER;