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.
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.
isCancelled
Whether the login was cancelled by the user.
@property (readonly,
nonatomic) BOOL isCancelled;
token
The access token.
@property (copy,
nonatomic) FBSDKAccessToken *token;
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; |