ASAuthorizationAppleIDCredentialΒΆ
Inherits: RefCounted < Object
Represents a credential that results from a successful Apple ID authentication.
DescriptionΒΆ
This class contains information about the user authenticated via Sign in with Apple. It includes the user identifier, full name, email, and authentication tokens.
The identity_token and authorization_code properties are provided as PackedByteArrays, which can be sent to your backend server for verification.
The real_user_status property can help you determine if the user is likely a real person or a bot.
PropertiesΒΆ
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
EnumerationsΒΆ
enum UserDetectionStatus: π
UserDetectionStatus unsupported = 0
There is currently no description for this enum. Please help us by contributing one!
UserDetectionStatus unknown = 1
There is currently no description for this enum. Please help us by contributing one!
UserDetectionStatus likelyReal = 2
There is currently no description for this enum. Please help us by contributing one!
enum UserAgeRange: π
UserAgeRange notknown = 0
There is currently no description for this enum. Please help us by contributing one!
UserAgeRange child = 1
There is currently no description for this enum. Please help us by contributing one!
UserAgeRange notChild = 2
There is currently no description for this enum. Please help us by contributing one!
Property DescriptionsΒΆ
PackedByteArray authorization_code = PackedByteArray() π
PackedByteArray get_authorization_code()
There is currently no description for this property. Please help us by contributing one!
Note: The returned array is copied and any changes to it will not update the original property value. See PackedByteArray for more details.
Array authorized_scopes = [] π
Array get_authorized_scopes()
There is currently no description for this property. Please help us by contributing one!
String get_email()
The userβs email address. may be a proxy address if the user chose to hide their email.
Dictionary full_name = {} π
Dictionary get_full_name()
There is currently no description for this property. Please help us by contributing one!
PackedByteArray identity_token = PackedByteArray() π
PackedByteArray get_identity_token()
There is currently no description for this property. Please help us by contributing one!
Note: The returned array is copied and any changes to it will not update the original property value. See PackedByteArray for more details.
int get_real_user_status()
There is currently no description for this property. Please help us by contributing one!
String get_state()
An arbitrary string that your app provided to the request that generated this credential.
String get_user()
An identifier associated with the authenticated user. This identifier is stable and unique to your team.
int get_user_age_range()
There is currently no description for this property. Please help us by contributing one!