Versions in this module Expand all Collapse all v0 v0.1.0 Dec 22, 2023 Changes in this version + func NewClientJWT(secret string, client authdb.ClientModel) string + func NewUserJWT(secret string, user authdb.UserModel) string + func ValidateEmail(email string) bool + func ValidatePassword(password string) error + func ValidateRedirectURI(uri string) bool + func ValidateScope(resType string, scope []string) bool + func VerifyPassword(hash, password string) bool + type Claims struct + Aud string + Exp int64 + Iss string + PKey string + Sub string + Type string + func ValidateJWT(literal, secret string) (Claims, bool)