API class
Pure Dart service layer to perform all requests with the underlying Identity Toolkit API.
See: https://cloud.google.com/identity-platform/docs/use-rest-api
- Annotations
-
- @protected
Constructors
- API.instanceOf(APIConfig apiConfig, {Client? client})
-
Construct new or existing API instance for a given APIConfig.
factory
Properties
- apiConfig → APIConfig
-
The API configurations of this instance.
final
- client ← Client
-
Change the HTTP client for the purpose of testing.
no getter
- createAuthUri → CreateAuthUri
-
All methods calling
createAuthUri
endpoint.no setter - customTokenAuth → CustomTokenAuth
-
A delegate getter used to perform all requests
for custom token related operations.
no setter
- emailAndPasswordAccount → EmailAndPasswordAccount
-
A delegate getter used to perform all requests
for email and password account related operations.
no setter
- emailAndPasswordAuth → EmailAndPasswordAuth
-
A delegate getter used to perform all requests
for email and password authentication related operations.
no setter
- emulator → AuthEmulator
-
A delegate getter used to perform all requests
for Identity platform profile related operations.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- identityToolkit → RelyingpartyResource
-
Identity platform
RelyingpartyResource
initialized with this instance APIConfig.no setter - idpAuth → IdpAuth
-
A delegate getter used to perform all requests
for Identity platform sign-in related operations.
no setter
- idToken → IdToken
-
A delegate getter used to perform all requests
for token related operations.
no setter
- languageCode → String?
-
The current languageCode sent in the headers of all API requests.
If
null
, the default Firebase Console language will be used.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signUp → SignUp
-
A delegate getter used to perform all requests
for sign-up related operations.
no setter
- smsAuth → SmsAuth
-
A delegate used to perform all requests for phone authentication.
no setter
- userAccount → UserAccount
-
A delegate used to perform all requests for account-related operations.
no setter
- userProfile → UserProfile
-
A delegate getter used to perform all requests
for Identity platform profile related operations.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setLanguageCode(
String? languageCode) → void -
Updates the
languageCode
for this instance. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited