Kyon147 / laravel-shopify

A full-featured Laravel package for aiding in Shopify App development
MIT License
353 stars 102 forks source link

Extend session token class api #141

Closed stidges closed 1 year ago

stidges commented 1 year ago

This commit exposes all the JWT claims so that they can be accessed from outside the class. It also fixes a bug where the dest claim was incorrectly set on the sub and jti claim as well.

For my application I'd like to access the sub field, but figured it would be best to expose all the other claims as well for completeness.