openid

package
v2.23.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Issuer             string   `json:"issuer"`
	AuthURL            string   `json:"authorization_endpoint,omitempty"`
	TokenURL           string   `json:"token_endpoint"`
	JWKSURL            string   `json:"jwks_uri"`
	UserInfoURL        string   `json:"userinfo_endpoint,omitempty"`
	Algorithms         []string `json:"id_token_signing_alg_values_supported,omitempty"`
	EndSessionEndpoint string   `json:"end_session_endpoint,omitempty"`
	PlgdTokensEndpoint string   `json:"plgd_tokens_endpoint,omitempty"`
}

func GetConfiguration

func GetConfiguration(ctx context.Context, httpClient *http.Client, domain string) (Config, error)

func (Config) Validate

func (c Config) Validate() error

Jump to

Keyboard shortcuts

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