oauth

package
v0.0.0-...-b84af7b Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	Users    *user.Module     `inject:""`
	Config   *config.Config   `inject:""`
	Security *security.Module `inject:""`
}

func (API) CompleteAuth

func (a API) CompleteAuth(c *gin.Context)

func (API) GetAuthRedirect

func (a API) GetAuthRedirect(c *gin.Context)

type UserToken

type UserToken struct {
	UserID string   `json:"user_id"`
	Scopes []string `json:"scope"`
	jwt.StandardClaims
}

Jump to

Keyboard shortcuts

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