Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthTokenMiddleWare ¶
Types ¶
type CreateTokenFunc ¶
type TokenService ¶
func NewTokenService ¶
func NewTokenService(logger *logpkg.Logger, createTokenFunc CreateTokenFunc, hmacSecret []byte) *TokenService
Click to show internal directories.
Click to hide internal directories.