Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JWTManager ¶
type JWTManager interface { GenerateTenantToken(tenantId, name string) (string, error) ValidateTenantToken(token string) (string, error) }
func NewJWTManager ¶
func NewJWTManager(encryptionSvc encryption.EncryptionService, tokenRepo repository.EngineTokenRepository, opts *TokenOpts) (JWTManager, error)
Click to show internal directories.
Click to hide internal directories.