authruntime

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2021 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
	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