GoogleFirebaseAppcheckV1betaRecaptchaConfig class
An app's reCAPTCHA v3 configuration object.
This configuration is used by ExchangeRecaptchaToken to validate reCAPTCHA tokens issued to apps by reCAPTCHA v3. It also controls certain properties of the returned App Check token, such as its ttl.
Constructors
- GoogleFirebaseAppcheckV1betaRecaptchaConfig({String? name, String? siteSecret, bool? siteSecretSet, String? tokenTtl})
- GoogleFirebaseAppcheckV1betaRecaptchaConfig.fromJson(Map _json)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String?
-
The relative resource name of the reCAPTCHA v3 configuration object, in
the format: ``` projects/{project_number}/apps/{app_id}/recaptchaConfig
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- siteSecret ↔ String?
-
Input only.
getter/setter pair
- siteSecretSet ↔ bool?
-
Whether the
site_secret
field was previously set.getter/setter pair - tokenTtl ↔ String?
-
Specifies the duration for which App Check tokens exchanged from reCAPTCHA
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