oauth2context

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2023 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Oauth2Context

type Oauth2Context struct {
	Options             *Oauth2ContextOptions
	SuccessCallbackPath string
	ErrorCallbackPath   string
	// contains filtered or unexported fields
}

func Get

func Get() *Oauth2Context

func (*Oauth2Context) GetErrorCallbackRedirectPath

func (ctx *Oauth2Context) GetErrorCallbackRedirectPath() string

func (*Oauth2Context) GetSuccessCallbackRedirectPath

func (ctx *Oauth2Context) GetSuccessCallbackRedirectPath() string

func (*Oauth2Context) RegisterProvider

func (ctx *Oauth2Context) RegisterProvider(provider adapters.OAuth2Provider)

type Oauth2ContextOptions

type Oauth2ContextOptions struct {
	BaseDomain       string
	ControllerPrefix string
}

func NewOAuthContextOptions

func NewOAuthContextOptions() *Oauth2ContextOptions

Jump to

Keyboard shortcuts

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