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 18e23d8 commit 607a23c
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 607a23c

Please sign in to comment.