Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateUserCreateRequest ¶
func ValidateUserCreateRequest(input UserCreateRequest) error
Types ¶
type ApiResponse ¶
type AuthErrorResponse ¶
type JWK ¶ added in v1.0.0
type JWK struct {
Kty string `json:"kty"` // Key Type (e.g., RSA)
Kid string `json:"kid"` // Key ID
Use string `json:"use"` // Public Key Use (e.g., sig)
Alg string `json:"alg"` // Algorithm (e.g., RS256)
N string `json:"n"` // Modulus (base64url-encoded)
E string `json:"e"` // Exponent (base64url-encoded)
}
JWK represents a single JSON Web Key
type JWKSResponse ¶ added in v1.0.0
type JWKSResponse struct {
Keys []JWK `json:"keys"`
}
JWKSResponse represents a JSON Web Key Set response for OIDC
type UserCreateRequest ¶
type WellKnownConfigResponse ¶
type WellKnownConfigResponse struct {
Issuer string `json:"issuer"`
AuthorizationEndpoint string `json:"authorization_endpoint"`
TokenEndpoint string `json:"token_endpoint"`
UserInfoEndpoint string `json:"userinfo_endpoint"`
RegistrationEndpoint string `json:"registration_endpoint"`
EndSessionEndpoint string `json:"end_session_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"`
ScopesSupported []string `json:"scopes_supported"`
TokenEndpointAuthMethodsSupported []string `json:"token_endpoint_auth_methods_supported"`
ClaimsSupported []string `json:"claims_supported"`
GrantTypesSupported []string `json:"grant_types_supported,omitempty"`
AcrValuesSupported []string `json:"acr_values_supported,omitempty"`
RequestParameterSupported bool `json:"request_parameter_supported"`
// RFC 8414 §2
IntrospectionEndpoint string `json:"introspection_endpoint,omitempty"`
RevocationEndpoint string `json:"revocation_endpoint,omitempty"`
CodeChallengeMethodsSupported []string `json:"code_challenge_methods_supported,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.