FBSDKLoginManagerLoginResult

Describes the result of a login attempt.

Superclass:NSObject
Declared in:FBSDKLoginManagerLoginResult.h
Thuộc tính
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.

Đã tuyên bố trong: 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.

Đã tuyên bố trong: FBSDKLoginManagerLoginResult.h
isCancelled

Whether the login was cancelled by the user.

@property (readonly, nonatomic) BOOL isCancelled;
Đã tuyên bố trong: FBSDKLoginManagerLoginResult.h
token

The access token.

@property (copy, nonatomic) FBSDKAccessToken *token;
Đã tuyên bố trong: FBSDKLoginManagerLoginResult.h
Phương thức thực thể
initWithToken:isCancelled:grantedPermissions:declinedPermissions:

Initializes a new instance.

Thông sốMô tả
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;
Đã tuyên bố trong: FBSDKLoginManagerLoginResult.h