Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticate ¶
type Authenticate struct {
// contains filtered or unexported fields
}
func NewAuthenticate ¶
func NewAuthenticate(uApp application.UserAppInterface, rd auth.AuthInterface, tk auth.TokenInterface) *Authenticate
Authenticate constructor
func (*Authenticate) Login ¶
func (au *Authenticate) Login(c *gin.Context)
func (*Authenticate) Logout ¶
func (au *Authenticate) Logout(c *gin.Context)
func (*Authenticate) Refresh ¶
func (au *Authenticate) Refresh(c *gin.Context)
Refresh is the function that uses the refresh_token to generate new pairs of refresh and access tokens.
type Users ¶
type Users struct {
// contains filtered or unexported fields
}
Users struct defines the dependencies that will be used
func NewUsers ¶
func NewUsers(us application.UserAppInterface, rd auth.AuthInterface, tk auth.TokenInterface) *Users
Users constructor
Click to show internal directories.
Click to hide internal directories.