generateAuthToken method

Implementation

Future<GenerateAuthTokenResponse> generateAuthToken(
    GenerateAuthTokenRequest request) async {
  ///  Generate new token for a given wallet and add it to the collection of known auth tokens.
  /// This endpoint requires authentication and will return a new token ID and auth token.
  /// Use this endpoint if you want to authorize another device, without having to share your
  /// existing auth token.

  return client.generateAuthToken(request,
      options: await buildMetadata(request: request));
}