oidc

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OIDC

type OIDC interface {
	SignIn() SignInRequest
	RefreshAccessToken(ctx context.Context, token gooidcproxy.Tokens) (gooidcproxy.Tokens, error)
	Exchange(ctx context.Context, code string) (gooidcproxy.Tokens, error)
}

func New

func New(ctx context.Context, cfg config.Config) (OIDC, error)

type SignInRequest

type SignInRequest struct {
	Location string
	State    string
	Nonce    string
}

Jump to

Keyboard shortcuts

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