Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BcryptAdapter ¶
type BcryptAdapter struct{}
func NewBcryptAdapter ¶
func NewBcryptAdapter() *BcryptAdapter
func (*BcryptAdapter) Compare ¶
func (b *BcryptAdapter) Compare(hashedPassword, password string) error
type JWTAdapter ¶
func NewJWTAdapter ¶
func NewJWTAdapter(secret []byte, exp int) *JWTAdapter
Click to show internal directories.
Click to hide internal directories.