acceptLoginToken method

Future<Result<AuthorizationBase>> acceptLoginToken({
  1. required Uint8List token,
})

Accept Login Token.

ID: e894ad4d.

Implementation

Future<Result<AuthorizationBase>> acceptLoginToken({
  required Uint8List token,
}) async {
  // Preparing the request.
  final request = AuthAcceptLoginToken(
    token: token,
  );

  // Invoke and wait for response.
  final response = await _c.invoke(request);

  // Return the result.
  return response._to<AuthorizationBase>();
}