typ

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AvailableType

func AvailableType() []authenticate.Type

func Register

func Register(typ authenticate.Type, tc TypeConfig)

Types

type TypeConfig

type TypeConfig interface {
	VerifyConfig(*authenticate.Authenticate) error
	Handler() (string, http.Handler)
	Generate(*authenticate.Authenticate, *structpb.Struct) (*structpb.Struct, error)
}

func Get

func Get(typ authenticate.Type) TypeConfig

Jump to

Keyboard shortcuts

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