AppleAuthCredentials class Null safety

Wrapper for AuthorizationCredentialAppleID to support json encoding

Implemented types
Annotations

Constructors

AppleAuthCredentials({required String userIdentifier, required String givenName, required String familyName, required String email, required String identityToken})

Properties

email String
The users email in case it was requested. You will need to provide the AppleIDAuthorizationScopes.email scope to the AppleIDAuthorizationRequest for requesting this information. [...]
final
familyName String
The users family name, in case it was requested. You will need to provide the AppleIDAuthorizationScopes.fullName scope to the AppleIDAuthorizationRequest for requesting this information. [...]
final
givenName String
The users given name, in case it was requested. You will need to provide the AppleIDAuthorizationScopes.fullName scope to the AppleIDAuthorizationRequest for requesting this information. [...]
final
hashCode int
The hash code for this object. [...]
read-only, inherited
identityToken String
A JSON Web Token (JWT) that securely communicates information about the user to your app.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
userIdentifier String
An identifier associated with the authenticated user. [...]
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Json
Returns the json representation of this instance
override
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Constants

fromJson → const AppleAuthCredentials Function(Map<String, dynamic> json)
Creates payload from json
_$AppleAuthCredentialsFromJson