-
-
Notifications
You must be signed in to change notification settings - Fork 597
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve the token interface #117
Labels
Milestone
Comments
lcobucci
added a commit
that referenced
this issue
Nov 16, 2016
Yes this is a big change... brace yourself! The ideia here is to make things more extensible and decoupled. So what I did was: - Extract interfaces for the important stuff to isolate the namespaces - Create the DataSet class (definitely not best name) to remove duplication on headers and claims manipulation - Make (almost) everything final - Group token related stuff under a namespace - Create methods to encapsulate token verifications Fixes: #117
lcobucci
added a commit
that referenced
this issue
Jan 7, 2017
Yes this is a big change... brace yourself! The ideia here is to make things more extensible and decoupled. So what I did was: - Extract interfaces for the important stuff to isolate the namespaces - Create the DataSet class (definitely not best name) to remove duplication on headers and claims manipulation - Make (almost) everything final - Group token related stuff under a namespace - Create methods to encapsulate token verifications Fixes: #117
lcobucci
added a commit
that referenced
this issue
Jan 7, 2017
Yes this is a big change... brace yourself! The ideia here is to make things more extensible and decoupled. So what I did was: - Extract interfaces for the important stuff to isolate the namespaces - Create the DataSet class (definitely not best name) to remove duplication on headers and claims manipulation - Make (almost) everything final - Group token related stuff under a namespace - Create methods to encapsulate token verifications Fixes: #117
Horikawaer
pushed a commit
to Horikawaer/jwt
that referenced
this issue
Nov 3, 2022
Yes this is a big change... brace yourself! The ideia here is to make things more extensible and decoupled. So what I did was: - Extract interfaces for the important stuff to isolate the namespaces - Create the DataSet class (definitely not best name) to remove duplication on headers and claims manipulation - Make (almost) everything final - Group token related stuff under a namespace - Create methods to encapsulate token verifications Fixes: lcobucci/jwt#117
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In order to provide a better encapsulation for the token we should provide methods to:
nbf
- not before - claim is <= now)iat
claim - issued at - claim is <= now)iss
- issuer - claim)aud
- audience - claim)sub
- subject - claim)The text was updated successfully, but these errors were encountered: