Versions in this module Expand all Collapse all v0 v0.1.0 Aug 10, 2022 Changes in this version + func NewJWTServices(config *AuthTokenConfig) internal.AuthTokenServices + type AuthTokenConfig struct + func (c *AuthTokenConfig) EncryptionSecretKey() string + func (c *AuthTokenConfig) ExpirationDuration() time.Duration + func (c *AuthTokenConfig) SigningSecretKey() string + type AuthTokenConfigBuilder interface + Build func() *AuthTokenConfig + SetJWTEncryptionSecretKey func(string) AuthTokenConfigBuilder + SetJWTExpirationDuration func(time.Duration) AuthTokenConfigBuilder + SetJWTSigningSecretKey func(string) AuthTokenConfigBuilder + func NewAuthTokenConfigBuilder() AuthTokenConfigBuilder