Open JunNishimura opened 5 months ago
Currently, if the name of the query param or cookie is other than jwt, it is necessary to implement logic to obtain jwt from the query or cookie on the user side(that's a bit cumbersome).
jwt
TokenFromCookie function TokenFromQuery function
Solve the above problem by providing a function that can retrieve jwt from a query or cookie with the name passed as an argument.
@pkieltyka Hi, I submitted a PR(#89)! I would appreciate it if you could check it out.
Describe the feature or problem you’d like to solve
Currently, if the name of the query param or cookie is other than
jwt
, it is necessary to implement logic to obtain jwt from the query or cookie on the user side(that's a bit cumbersome).TokenFromCookie function TokenFromQuery function
Proposed solution
Solve the above problem by providing a function that can retrieve jwt from a query or cookie with the name passed as an argument.