- @override
This method must revoke all AuthToken
and AuthCode
s for an Authenticatable
.
server
is the requesting AuthServer
. identifier
is the Authenticatable.id
.
Source
@override Future revokeAuthenticatableWithIdentifier( AuthServer server, dynamic identifier) { var tokenQuery = new Query<ManagedToken>(context) ..where.resourceOwner = whereRelatedByValue(identifier); return tokenQuery.delete(); }