wellknown

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(m map[string]interface{}, log *zerolog.Logger) (global.Service, error)

New returns a new webuisvc

Types

type ProviderMetadata added in v0.0.2

type ProviderMetadata struct {
	AuthorizationEndpoint string `json:"authorization_endpoint,omitempty"`
	// claims_parameter_supported
	ClaimsSupported []string `json:"claims_supported,omitempty"`
	// grant_types_supported
	IDTokenSigningAlgValuesSupported []string `json:"id_token_signing_alg_values_supported,omitempty"`
	Issuer                           string   `json:"issuer,omitempty"`
	JwksURI                          string   `json:"jwks_uri,omitempty"`
	// registration_endpoint
	// request_object_signing_alg_values_supported
	// request_parameter_supported
	// request_uri_parameter_supported
	// require_request_uri_registration
	// response_modes_supported
	ResponseTypesSupported []string `json:"response_types_supported,omitempty"`
	ScopesSupported        []string `json:"scopes_supported,omitempty"`
	SubjectTypesSupported  []string `json:"subject_types_supported,omitempty"`
	TokenEndpoint          string   `json:"token_endpoint,omitempty"`
	// token_endpoint_auth_methods_supported
	// token_endpoint_auth_signing_alg_values_supported
	UserinfoEndpoint string `json:"userinfo_endpoint,omitempty"`
	// userinfo_signing_alg_values_supported
	// code_challenge_methods_supported
	IntrospectionEndpoint string `json:"introspection_endpoint,omitempty"`
	// introspection_endpoint_auth_methods_supported
	// introspection_endpoint_auth_signing_alg_values_supported
	RevocationEndpoint string `json:"revocation_endpoint,omitempty"`
	// revocation_endpoint_auth_methods_supported
	// revocation_endpoint_auth_signing_alg_values_supported
	// id_token_encryption_alg_values_supported
	// id_token_encryption_enc_values_supported
	// userinfo_encryption_alg_values_supported
	// userinfo_encryption_enc_values_supported
	// request_object_encryption_alg_values_supported
	// request_object_encryption_enc_values_supported
	CheckSessionIframe string `json:"check_session_iframe,omitempty"`
	EndSessionEndpoint string `json:"end_session_endpoint,omitempty"`
}

The ProviderMetadata describes an idp. see https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata TODO(labkode): do we really need it to validate the token and get user claims?

Jump to

Keyboard shortcuts

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