FBSDKLoginManagerLoginResult

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;
Discussion:

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;
Discussion:

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