Resource: SafetyNetConfig
An app's SafetyNet configuration object. This configuration controls certain properties of the
returned by AppCheckToken
ExchangeSafetyNetToken
, such as its ttl
.
Note that your registered SHA-256 certificate fingerprints are used to validate tokens issued by SafetyNet; please register them via the Firebase Console or programmatically via the Firebase Management Service.
JSON representation |
---|
{ "name": string, "tokenTtl": string } |
Fields | |
---|---|
name |
Required. The relative resource name of the SafetyNet configuration object, in the format:
|
tokenTtl |
Specifies the duration for which App Check tokens exchanged from SafetyNet tokens will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive. A duration in seconds with up to nine fractional digits, ending with ' |
Methods |
|
---|---|
(deprecated) |
Atomically gets the SafetyNetConfig s for the specified list of apps. |
(deprecated) |
Gets the SafetyNetConfig for the specified app. |
(deprecated) |
Updates the SafetyNetConfig for the specified app. |