Documentation ¶
Index ¶
Constants ¶
View Source
const (
SigningKeyKid = "oidc-signing-key"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationRequest ¶
type IDTokenPayload ¶
type Oidc ¶
type Oidc struct {
// contains filtered or unexported fields
}
func (*Oidc) GenerateIDToken ¶
func (*Oidc) GetOpenIDProviderMetadata ¶
func (o *Oidc) GetOpenIDProviderMetadata() OpenIDProviderMetadata
func (*Oidc) GetPublicKeys ¶
func (o *Oidc) GetPublicKeys() []jose.JSONWebKey
func (*Oidc) ValidateAuthenticationRequest ¶
func (o *Oidc) ValidateAuthenticationRequest(req AuthenticationRequest) error
type OpenIDProviderMetadata ¶
type OpenIDProviderMetadata struct { Issuer string `json:"issuer"` AuthorizationEndpoint string `json:"authorization_endpoint"` JWKsUri string `json:"jwks_uri"` ResponseTypesSupported []string `json:"response_types_supported"` SubjectTypesSupported []string `json:"subject_types_supported"` IdTokenSigningAlgValuesSupported []string `json:"id_token_signing_alg_values_supported"` }
Click to show internal directories.
Click to hide internal directories.