-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add JWTAuthorizer Implementation. #36
Conversation
G8XSU
commented
Oct 22, 2024
•
edited
Loading
edited
- Add JWTAuthorizer Implementation.
private final PublicKey publicKey; | ||
private final JWTVerifier verifier; | ||
|
||
public JwtAuthorizer(String pemFormatPublicKey) throws Exception { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider linking to the RFC or other resource on what PEM format is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On some searching afaiu, there are multiple RFCs to specify that format but not a single one.
To avoid any further confusions, I gave a reference to OpenSSL docs and way to generate key pairs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Please squash.
bd1a14c
to
4d5cbd5
Compare
Addressed comments, squashed fixups. |