GoogleFirebaseAppcheckV1betaDeviceCheckConfig class
An app's DeviceCheck configuration object.
This configuration is used by ExchangeDeviceCheckToken to validate device
tokens issued to apps by DeviceCheck. It also controls certain properties of
the returned AppCheckToken
, such as its ttl. Note that the Team ID
registered with your app is used as part of the validation process. Please
register it via the Firebase Console or programmatically via the
Firebase Management Service.
Constructors
- GoogleFirebaseAppcheckV1betaDeviceCheckConfig({String? keyId, String? name, String? privateKey, bool? privateKeySet, String? tokenTtl})
- GoogleFirebaseAppcheckV1betaDeviceCheckConfig.fromJson(Map _json)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- keyId ↔ String?
-
The key identifier of a private key enabled with DeviceCheck, created in
your Apple Developer account.
getter/setter pair
- name ↔ String?
-
The relative resource name of the DeviceCheck configuration object, in the
format:
projects/{project_number}/apps/{app_id}/deviceCheckConfig
getter/setter pair - privateKey ↔ String?
-
Input only.
getter/setter pair
- privateKeySet ↔ bool?
-
Whether the
private_key
field was previously set.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tokenTtl ↔ String?
-
Specifies the duration for which App Check tokens exchanged from
DeviceCheck tokens will be valid.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited