Documentation
¶
Index ¶
- type Authenticator
- func (authenticator *Authenticator) AuthenticatorHandler(c *gin.Context) (interface{}, error)
- func (authenticator *Authenticator) CreateMiddleware() error
- func (authenticator *Authenticator) GetBaseAuthenticator() makeless_go_authenticator.Authenticator
- func (authenticator *Authenticator) GetMiddleware() *jwt.GinJWTMiddleware
- func (authenticator *Authenticator) GetSecurity() makeless_go_security.Security
- func (authenticator *Authenticator) GetUsers() []*makeless_go_model.User
- func (authenticator *Authenticator) SetMiddleware(middleware *jwt.GinJWTMiddleware)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator struct {
BaseAuthenticator makeless_go_authenticator.Authenticator
Users []*makeless_go_model.User
*sync.RWMutex
}
func (*Authenticator) AuthenticatorHandler ¶
func (authenticator *Authenticator) AuthenticatorHandler(c *gin.Context) (interface{}, error)
func (*Authenticator) CreateMiddleware ¶
func (authenticator *Authenticator) CreateMiddleware() error
func (*Authenticator) GetBaseAuthenticator ¶
func (authenticator *Authenticator) GetBaseAuthenticator() makeless_go_authenticator.Authenticator
func (*Authenticator) GetMiddleware ¶
func (authenticator *Authenticator) GetMiddleware() *jwt.GinJWTMiddleware
func (*Authenticator) GetSecurity ¶
func (authenticator *Authenticator) GetSecurity() makeless_go_security.Security
func (*Authenticator) GetUsers ¶
func (authenticator *Authenticator) GetUsers() []*makeless_go_model.User
func (*Authenticator) SetMiddleware ¶
func (authenticator *Authenticator) SetMiddleware(middleware *jwt.GinJWTMiddleware)
Click to show internal directories.
Click to hide internal directories.