updatePassword method

ResponseFuture<IdentifierResponse> updatePassword(
  1. UpdatePasswordReq request, {
  2. CallOptions? options,
})

Administrative override method to forcefully update a user's password.

This is typically invoked by an administrator or helpdesk agent.

Side Effects:

  • Overwrites the existing password hash.
  • Triggers a security notification email to the target user notifying them of the change.
  • Terminates all active sessions for the target user, forcing a re-login.

Errors:

  • PERMISSION_DENIED: If the calling user lacks administrative password modification privileges.

Implementation

$grpc.ResponseFuture<$1.IdentifierResponse> updatePassword(
  $1.UpdatePasswordReq request, {
  $grpc.CallOptions? options,
}) {
  return $createUnaryCall(_$updatePassword, request, options: options);
}