Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidAudience ¶
IsValidAudience validates an audience identifier according to OpenID Connect Core 1.0: - Must not be empty (audience is REQUIRED) - Should be a URI or an arbitrary string that uniquely identifies the audience - Case sensitive string comparison - Maximum length of 255 characters for security - Must not contain control characters or injection-prone characters
func IsValidIssuer ¶
IsValidIssuer validates an OIDC issuer according to RFC 8414 and OpenID Connect Core 1.0: - Must use HTTPS scheme (except localhost for testing) - Must be a valid URL without query string or fragment - Must not end with a slash - Must have a valid hostname - Length constraints for security
func IsValidSubject ¶
IsValidSubject validates a subject identifier according to OpenID Connect Core 1.0: - Must not be empty (REQUIRED) - Must be a string with maximum length of 255 ASCII characters - Must not contain whitespace or control characters - Case sensitive string comparison
Types ¶
This section is empty.