Versions in this module Expand all Collapse all v0 v0.6.4 Dec 30, 2025 v0.6.3 Dec 30, 2025 v0.6.2 Dec 30, 2025 v0.6.1 Dec 30, 2025 v0.6.0 Dec 29, 2025 Changes in this version + func GeneratePasswordResetToken(email string, privateKey *rsa.PrivateKey) (*string, error) + type PasswordResetClaims struct + Email string + func VerifyPasswordResetToken(tokenString string, publicKey *rsa.PublicKey) (*PasswordResetClaims, error) v0.5.1 Dec 23, 2025 v0.5.0 Dec 23, 2025 v0.4.10 Sep 24, 2025 v0.4.9 Sep 24, 2025 v0.4.8 Sep 16, 2025 v0.4.7 Sep 16, 2025 v0.4.6 Sep 11, 2025 v0.4.5 Sep 3, 2025 v0.4.4 Aug 28, 2025 v0.4.3 Aug 8, 2025 v0.4.2 Aug 6, 2025 v0.4.1 Jul 29, 2025 v0.4.0 Jul 16, 2025 Changes in this version + func GenerateJWTToken(user *relational.User, privateKey *rsa.PrivateKey) (*string, error) + func PublicKeyToPEM(pubKey *rsa.PublicKey) (string, error) + type JWK struct + Alg string + E string + KID string + Kty string + N string + Use string + func (j *JWK) MarshalPublicKey() (*rsa.PublicKey, error) + func (j *JWK) UnmarshalPublicKey(pubKey *rsa.PublicKey) (*JWK, error) + type UserClaims struct + FamilyName string + GivenName string + func VerifyJWTToken(tokenString string, publicKey *rsa.PublicKey) (*UserClaims, error)