A micro-service API for revoking tokens
-
GET /api/revoke/{token}
orGET /api/revoke/{identifier}/{token}
token
is the token to be revokedidentifier
is the identifier of the token to be revoked
-
if the token is revoked, the response will be
200
{ "revoked": true }
-
GET /api/validate/{token}
orGET /api/validate/{identifier}/{token}
token
is the token to be validatedidentifier
is the identifier of the token to be validated
-
if the token is revoked, the response will be
200
{ "revoked": true }