revokeRefreshToken method

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

Revokes the Refresh Token in the provided tknResp

Implementation

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