stytchauth / stytch-go

Official Stytch Backend SDK for Go
MIT License
47 stars 10 forks source link

Support AuthenticateWithClaims + local JWT auth in B2B Sessions #147

Closed logan-stytch closed 1 year ago

logan-stytch commented 1 year ago

This PR primarily aims to support local JWT auth in B2B Sessions. Along the way, I had to add support for AuthenticateWithClaims.

The AuthenticateWithClaims method is autogenerated, which is why you see it popping up nearly everywhere. It gets generated for any function that has a MemberSession parameter (which happens to be every Authenticate method).

There are a few small docs changes tagging along.