registerTOTP method

ResponseFuture<RegisterTOTPResponse> registerTOTP(
  1. RegisterTOTPRequest request, {
  2. CallOptions? options,
})

Start the registration of a TOTP generator for a user

Start the registration of a TOTP generator for a user, as a response a secret returned, which is used to initialize a TOTP app or device.

Deprecated: please move to the corresponding endpoint under user service v2 (GA).

Implementation

$grpc.ResponseFuture<$0.RegisterTOTPResponse> registerTOTP(
  $0.RegisterTOTPRequest request, {
  $grpc.CallOptions? options,
}) {
  return $createUnaryCall(_$registerTOTP, request, options: options);
}