python-keycloak-client icon indicating copy to clipboard operation
python-keycloak-client copied to clipboard

Add Token class

Open pehala opened this issue 5 years ago • 2 comments

  • Token is a wrapper class for authorization token with the ability to automatically refresh itself.
    • Usage is token(), the raw token can be retrieved with token.token.

pehala avatar May 04 '20 10:05 pehala

@Peter-Slump This code was part of #20 but I decided it would be best to polish the code and split it into multiple PR and discuss those changes in these individual PRs, if you are ok with that.

pehala avatar May 05 '20 13:05 pehala

Hi @pehala I've merged your #20 PR to the develop branch since it's breaking the API. In the develop branch I collect all changes which will be released in the 1.0 release. However there is an issue #24 open to verify the Token class since I want to be sure that the verification of the JWT is correct and secure enough for this purpose.

Peter-Slump avatar Jun 03 '20 09:06 Peter-Slump