Skip to main content

claimsReset

Reset and refresh user authorization claims.

Updates the user's authorization claims with the latest permissions, roles, and access rights. This is useful when user permissions have changed and need to be reflected in their authentication tokens.

Possible errors:

  • USER_NOT_FOUND_ERROR: User account with the specified UID does not exist

AUTH: Role=[system] OR ('user is authenticated')

claimsReset(
uid: String!
email: String!
): Boolean!

Arguments​

claimsReset.uid ● String! non-null scalar​

Unique identifier of the user whose claims should be reset.

Firebase UID that uniquely identifies the user account in the authentication system.

claimsReset.email ● String! non-null scalar​

Email address of the user whose claims should be reset.

Used for additional verification and claim lookup operations.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.