interfaces

package
v0.0.0-...-8d273c4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 8, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

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

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

Users constructor

func (*Users) GetUser

func (s *Users) GetUser(c *gin.Context)

func (*Users) GetUsers

func (s *Users) GetUsers(c *gin.Context)

func (*Users) SaveUser

func (s *Users) SaveUser(c *gin.Context)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL