Skip to content

Commit

Permalink
feat(jans-setup): updated sample revoke script
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriyz committed Jan 4, 2022
1 parent ae55904 commit 45e43db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/extension/revoke_token/revoke_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ def getApiVersion(self):
# This method is called during Revoke Token call.
# If True is returned, token is revoked. If False is returned, revoking is skipped.
# Note :
# context is reference of org.gluu.oxauth.service.external.context.RevokeTokenContext(in https://github.com/GluuFederation/oxauth project, )
# context is reference of io.jans.as.server.model.common.ExecutionContextt(in https://github.com/JanssenProject/jans-auth-server project, )
def revoke(self, context):
return True

0 comments on commit 45e43db

Please sign in to comment.