pkg

package
v0.0.0-...-d90e31e Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: GPL-3.0 Imports: 19 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.
	RawIDToken     string
	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