revokeToken method
inherited
Implementation
Future<PamRevokeTokenResult> revokeToken(String token,
{String? using, Keyset? keyset}) async {
keyset ??= keysets[using];
Ensure(keyset.secretKey).isNotNull('secretKey');
Ensure(token).isNotEmpty('token');
var params = PamRevokeTokenParams(keyset, (token));
var result = await defaultFlow<PamRevokeTokenParams, PamRevokeTokenResult>(
keyset: keyset,
core: this,
params: params,
serialize: (object, [_]) => PamRevokeTokenResult.fromJson(object));
return result;
}