Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateDiscoveryFile ¶
func GenerateKeysFile ¶
func GenerateKeysFile(key *rsa.PrivateKey) (*bytes.Reader, error)
Types ¶
type DiscoveryResponse ¶
type DiscoveryResponse 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"` ClaimsSupported []string `json:"claims_supported"` }
type KeyResponse ¶
type KeyResponse struct {
Keys []jose.JSONWebKey `json:"keys"`
}
Click to show internal directories.
Click to hide internal directories.