revokeAccessToken method

Future<OAuth2Response> revokeAccessToken(
  1. AccessTokenResponse tknResp, {
  2. String? clientId,
  3. String? clientSecret,
  4. dynamic httpClient,
})

Revokes the Access Token in the provided tknResp

Implementation

Future<OAuth2Response> revokeAccessToken(AccessTokenResponse tknResp,
    {String? clientId, String? clientSecret, httpClient}) async {
  return await _revokeTokenByType(tknResp, 'access_token',
      clientId: clientId, clientSecret: clientSecret, httpClient: httpClient);
}