Versions in this module Expand all Collapse all v6 v6.2.13 Sep 22, 2026 v6.2.12 Sep 21, 2026 Changes in this version + const AccessTokenRequestStatusActive + const AccessTokenRequestStatusPending + const AssertionParam + const AuthorizationCodeGrantType + const AuthorizationDetailsParam + const AuthzServerWellKnown + const CNonceParam + const CallbackPath + const ClientIDParam + const ClientIDSchemeParam + const ClientMetadataParam + const ClientMetadataPath + const ClientMetadataURIParam + const CodeChallengeMethodParam + const CodeChallengeParam + const CodeParam + const CodeResponseType + const CodeVerifierParam + const ErrorDescriptionParam + const ErrorParam + const GrantTypeParam + const NonceParam + const OpenIdConfigurationWellKnown + const OpenIdCredIssuerWellKnown + const PreAuthorizedCodeGrantType + const PresentationDefParam + const PresentationDefUriParam + const PresentationSubmissionParam + const RedirectURIParam + const RequestParam + const RequestURIMethodParam + const RequestURIParam + const ResponseModeParam + const ResponseTypeParam + const ResponseURIParam + const ScopeParam + const StateParam + const VPTokenResponseType + const VpTokenGrantType + const VpTokenParam + const WalletMetadataParam + const WalletNonceParam + func DefaultOpenIDSupportedFormats() map[string]map[string][]string + func IssuerIdToWellKnown(issuer string, wellKnown string, strictmode bool) (*url.URL, error) + type AuthorizationServerMetadata struct + AuthorizationEndpoint string + ClientIdSchemesSupported []string + DIDMethodsSupported []string + DPoPSigningAlgValuesSupported []string + GrantTypesSupported []string + Issuer string + PreAuthorizedGrantAnonymousAccessSupported bool + PresentationDefinitionEndpoint string + PresentationDefinitionUriSupported *bool + RequestObjectSigningAlgValuesSupported []string + RequireSignedRequestObject bool + ResponseModesSupported []string + ResponseTypesSupported []string + TokenEndpoint string + VPFormats map[string]map[string][]string + VPFormatsSupported map[string]map[string][]string + func (m AuthorizationServerMetadata) SupportsClientIDScheme(scheme string) bool + type EntityStatementMetadata struct + OpenIDProvider AuthorizationServerMetadata + type ErrorCode string + const AccessDenied + const InvalidDPopProof + const InvalidGrant + const InvalidPresentationDefinitionURI + const InvalidRequest + const InvalidRequestObject + const InvalidRequestURI + const InvalidRequestURIMethod + const InvalidScope + const ServerError + const UnsupportedGrantType + const UnsupportedResponseType + type OAuth2Error struct + Code ErrorCode + Description string + InternalError error + RedirectURI *url.URL + func TestOAuthErrorCode(responseBody []byte, code ErrorCode) (bool, OAuth2Error) + func (e OAuth2Error) Error() string + func (e OAuth2Error) StatusCode() int + type OAuthClientMetadata struct + ClientIdScheme string + Contacts []string + CredentialOfferEndpoint string + GrantTypes []string + Jwks any + JwksURI string + RedirectURIs []string + ResponseTypes []string + Scope string + SoftwareID string + SoftwareVersion string + TokenEndpointAuthMethod string + VPFormats map[string]map[string][]string + type Oauth2ErrorWriter struct + HtmlPageTemplate *template.Template + func (p Oauth2ErrorWriter) Write(echoContext echo.Context, _ int, _ string, err error) error + type OpenIDConfiguration struct + Expiration int64 + IssuedAt int64 + Issuer string + JWKs jwk.Set + Metadata EntityStatementMetadata + Subject string + func (j *OpenIDConfiguration) UnmarshalJSON(bytes []byte) error + type OpenIDCredentialIssuerMetadata struct + AuthorizationServers []string + CredentialEndpoint string + CredentialIssuer string + Display []map[string]string + type Redirect struct + RedirectURI string + type TokenResponse struct + AccessToken string + DPoPKid *string + ExpiresAt *int + ExpiresIn *int + Scope *string + TokenType string + func (t *TokenResponse) UnmarshalJSON(data []byte) error + func (t *TokenResponse) With(key string, value interface{}) *TokenResponse + func (t TokenResponse) Get(key string) string + func (t TokenResponse) MarshalJSON() ([]byte, error)