createClientAccessToken method

Future<String> createClientAccessToken(
  1. {required String authClient}
)

creates any client token by exchange code. get a client from AuthClients and pass that to authClient parameter.

Implementation

Future<String> createClientAccessToken({
  required String authClient,
}) async {
  return await createOAuthToken(
    grantType: "exchange_code",
    grantData: "exchange_code=${await createExchangeCode()}",
    authClient: authClient,
  );
}