authruntime

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	Type           string
	Name           string
	Invoke         func(http.ResponseWriter, *http.Request, *ProviderRuntime)
	RegisterRoutes func(*mux.Router, *ProviderRuntime) error
}

type ProviderRuntime

type ProviderRuntime struct {
	// contains filtered or unexported fields
}

func NewProviderRuntime

func NewProviderRuntime(store sessions.Store) *ProviderRuntime

func (*ProviderRuntime) ClearSession

func (p *ProviderRuntime) ClearSession(w http.ResponseWriter, r *http.Request) error

func (*ProviderRuntime) Done

func (*ProviderRuntime) GetSession

func (p *ProviderRuntime) GetSession(r *http.Request) (*authsession.AuthSession, error)

func (*ProviderRuntime) Restart

func (p *ProviderRuntime) Restart(w http.ResponseWriter, r *http.Request)

func (*ProviderRuntime) SetSession

Jump to

Keyboard shortcuts

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