sso

package
v0.0.0-...-4ee38bd Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CODE = iota
	STATE
)

Variables

This section is empty.

Functions

func Handler

func Handler(f *Fact) gin.HandlerFunc

Types

type Fact

type Fact struct {
	Param       map[PARAM]string
	Identifier  auth.Identifier
	Factory     token.Factory
	Verifier    token.Verifier
	TokenCookie route.TokenCookie
	Router      route.Router
}

func Register

func Register(mode int8, config conf.Config) *Fact

func (*Fact) GetCode

func (f *Fact) GetCode() string

func (*Fact) GetState

func (f *Fact) GetState() string

type PARAM

type PARAM int

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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