Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrTokenExpired = jwt.ErrTokenExpired
)
Functions ¶
This section is empty.
Types ¶
type Authentication ¶
type Authentication struct {
JWT JWTAuthenticator
Encryption Encryption
}
func NewAuthentication ¶
func NewAuthentication(jwt2 *JWT, aes2 *AES) Authentication
type Encryption ¶
type JWT ¶
type JWT struct {
// contains filtered or unexported fields
}
func NewJWTAuthenticator ¶
func NewJWTAuthenticator(config *config.AtomicConfig, store store2.Store) *JWT
func (*JWT) GenerateToken ¶
Click to show internal directories.
Click to hide internal directories.