revokeRefreshToken method

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

Revokes the Refresh Token in the provided tknResp

Implementation

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