pkg

package
v0.0.0-...-50446c7 Latest Latest
Warning

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

Go to latest
Published: May 6, 2022 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Env

func Env(key string, fallback string) string

Types

type CallbackResponse

type CallbackResponse struct {
	OAuth2Token    *oauth2.Token
	IDTokenClaims  *json.RawMessage // ID Token payload is just JSON.
	UserInfo       interface{}
	Introspection  interface{}
	Refresh        interface{}
	RefreshIDToken interface{}
}

type ImplicitTemplateContext

type ImplicitTemplateContext struct {
	ClientID     string
	DiscoveryURL string
	RootURL      string
	Scopes       string
}

type OIDCClient

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

func NewOIDCClient

func NewOIDCClient(clientID string, clientSecret string, providerURL string) *OIDCClient

func (*OIDCClient) Run

func (c *OIDCClient) Run()

Jump to

Keyboard shortcuts

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