alreadyConsumed property
Indicates weather this token was already consumed.
If this is the first time AppCheck.verifyToken method has seen this token,
this field will contain the value false
. The given token will then be
marked as already_consumed
for all future invocations of this AppCheck.verifyToken
method for this token.
When this field is true
, the caller is attempting to reuse a previously consumed token.
You should take precautions against such a caller; for example, you can take actions such as
rejecting the request or ask the caller to pass additional layers of security checks.
Implementation
final bool? alreadyConsumed;