Describes the result of a login attempt.
Superclass: | NSObject |
Declared in: | FBSDKLoginManagerLoginResult.h |
declinedPermissions
The set of permissions declined by the user in the associated request.
@property (copy,
nonatomic) NSSet *declinedPermissions;
Inspect the token's permissions set for a complete list.
FBSDKLoginManagerLoginResult.h
grantedPermissions
The set of permissions granted by the user in the associated request.
@property (copy,
nonatomic) NSSet *grantedPermissions;
Inspect the token's permissions set for a complete list.
FBSDKLoginManagerLoginResult.h
isCancelled
Whether the login was cancelled by the user.
@property (readonly,
nonatomic) BOOL isCancelled;
FBSDKLoginManagerLoginResult.h
token
The access token.
@property (copy,
nonatomic) FBSDKAccessToken *token;
FBSDKLoginManagerLoginResult.h
initWithToken:isCancelled:grantedPermissions:declinedPermissions:
Initializes a new instance.
พารามิเตอร์ | คำอธิบาย |
---|---|
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; |
FBSDKLoginManagerLoginResult.h