revokeAccessToken method
Future<OAuth2Response>
revokeAccessToken(
- AccessTokenResponse tknResp, {
- String? clientId,
- String? clientSecret,
- dynamic httpClient,
- Map<
String, dynamic> ? params,
Revokes the Access Token in the provided tknResp
Implementation
Future<OAuth2Response> revokeAccessToken(
AccessTokenResponse tknResp, {
String? clientId,
String? clientSecret,
httpClient,
Map<String, dynamic>? params,
}) async {
return await _revokeTokenByType(tknResp, 'access_token',
clientId: clientId,
clientSecret: clientSecret,
httpClient: httpClient,
params: params);
}