FirebaseAuthError.forbiddenClaim constructor

FirebaseAuthError.forbiddenClaim([
  1. String? message
])

One or more custom user claims provided to setCustomUserClaims() are reserved.

For example, OIDC specific claims such as (sub, iat, iss, exp, aud, auth_time, etc) should not be used as keys for custom claims.

Implementation

FirebaseAuthError.forbiddenClaim([String? message])
    : this(
          'reserved-claim',
          message ??
              'The specified developer claim is reserved and cannot be specified.');