unlockUser method

ResponseFuture<UnlockUserResponse> unlockUser(
  1. UnlockUserRequest request, {
  2. CallOptions? options,
})

Unlock a user

Unlock a previously locked user and change the state to 'active'. The user will be able to log in again.

The endpoint returns an error if the user is not in the state 'locked'.

Implementation

$grpc.ResponseFuture<$0.UnlockUserResponse> unlockUser(
  $0.UnlockUserRequest request, {
  $grpc.CallOptions? options,
}) {
  return $createUnaryCall(_$unlockUser, request, options: options);
}