oidc

package
v0.0.0-...-3e801bd Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthenticator

func NewAuthenticator(verifier token.Verifier) *oidcAuthenticator

Types

type OidcContext

type OidcContext struct {
	IssuerURL string
	// contains filtered or unexported fields
}

func NewOidcContext

func NewOidcContext(client *http.Client, issuerURL string, config *oauth2.Config) *OidcContext

func (*OidcContext) GetProvider

func (c *OidcContext) GetProvider(ctx context.Context) *oidc.Provider

func (*OidcContext) GetProviderConfig

func (c *OidcContext) GetProviderConfig(ctx context.Context) error

func (*OidcContext) GetVerifier

func (c *OidcContext) GetVerifier(ctx context.Context) token.Verifier

func (*OidcContext) Init

func (c *OidcContext) Init() error

func (*OidcContext) Oauth2Config

func (c *OidcContext) Oauth2Config(scopes []string) *oauth2.Config

Jump to

Keyboard shortcuts

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