revokeRefreshToken method
Future<OAuth2Response>
revokeRefreshToken(
- AccessTokenResponse tknResp, {
- String? clientId,
- String? clientSecret,
- dynamic httpClient,
- 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);
}