Versions in this module Expand all Collapse all v0 v0.29.0 Aug 23, 2023 v0.28.0 Aug 4, 2023 Changes in this version + func EnsureValidToken() func(next http.Handler) http.Handler + func GetUserProfile(id string) (map[string]interface{}, error) + type CustomClaims struct + Scope string + Subject string + func (c CustomClaims) Validate(ctx context.Context) error + type Profile struct + Audience string + ExpiresAt float64 + FamilyName string + GivenName string + IssuedAt float64 + Issuer string + Locale string + Name string + Nickname string + Picture string + SessionID string + Subject string + UpdatedAt string + type Token struct + ExpiresAt time.Time + Kind string + Scopes []string + Token string + func GetToken() (*Token, error) + type UserProfile struct + AppMetadata map[string]interface{} + Email string + EmailVerified bool + UserMetadata map[string]interface{}