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ΒΆ

PackedByteArray

authorization_code

PackedByteArray()

Array

authorized_scopes

[]

String

email

""

Dictionary

full_name

{}

PackedByteArray

identity_token

PackedByteArray()

int

real_user_status

0

String

state

""

String

user

""

int

user_age_range

0


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() πŸ”—

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 email = "" πŸ”—

The user’s email address. may be a proxy address if the user chose to hide their email.


Dictionary full_name = {} πŸ”—

There is currently no description for this property. Please help us by contributing one!


PackedByteArray identity_token = PackedByteArray() πŸ”—

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 real_user_status = 0 πŸ”—

  • int get_real_user_status()

There is currently no description for this property. Please help us by contributing one!


String state = "" πŸ”—

An arbitrary string that your app provided to the request that generated this credential.


String user = "" πŸ”—

An identifier associated with the authenticated user. This identifier is stable and unique to your team.


int user_age_range = 0 πŸ”—

  • int get_user_age_range()

There is currently no description for this property. Please help us by contributing one!