jwt
jwt copied to clipboard
Allow encoding JsonWebToken objects using __toString()
I would like to be able to write code like so:
$token = new JsonWebToken();
$encoded = (string) $token;
Thoughts @jonathangreen @bradjones1 ?
@gabesullice Would this be an alternate PHP way to get a jwt rather than the /jwt/token endpoint?