login

package
v0.0.0-...-9bbed00 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const CookieNameJWT = "auth-token"

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

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

func GetComponent

func GetComponent(ctx context.Context) *Component

func NewComponent

func NewComponent() (*Component, error)

func (*Component) AddToScope

func (c *Component) AddToScope(ctx context.Context, scope *scopes.Scope)

func (*Component) Logout

func (*Component) OAuthCallback

func (p *Component) OAuthCallback(ctx context.Context, req *components.Request) (components.Response, error)

func (*Component) RegisterHandlers

func (c *Component) RegisterHandlers(s *components.Server, mux *http.ServeMux) error

func (*Component) RegisterProvider

func (c *Component) RegisterProvider(provider components.AuthenticationProvider)

RegisterProvider registers an authentication method with our login system

func (*Component) StartOAuth2Login

Directories

Path Synopsis
providers

Jump to

Keyboard shortcuts

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