ml-archive / Newt

Token management made easy
MIT License
0 stars 0 forks source link

Token refresh #2

Open chriscombs opened 5 years ago

chriscombs commented 5 years ago

Ability to manually (as well as automatically) refresh token.

pbodsk commented 5 years ago

This framework could be relevant if we want to decode JWT tokens to verify if a token has expired

https://github.com/auth0/JWTDecode.swift

pbodsk commented 5 years ago

If we don't want to include a separate dependency, we could consider rolling our own JWT token validator/parser.

This has been done on e-boks for instance.

See the JWTToken class on e-boks 4.0