Module error

Source
Available on crate feature experimental-oidc only.
Expand description

Error types used in the Oidc API.

Structs§

ErrorBody
The body of an error that can be returned by an OpenID Provider.
HttpError
An error that can be returned by an OpenID Provider.
StandardErrorResponse
Error response returned by server after requesting an access token.

Enums§

AccountManagementError
All errors that can occur when building the account management URL.
AuthorizationCodeErrorResponseType
Error response returned by server after requesting an authorization code.
AuthorizationError
All possible errors when authorizing the client.
BasicErrorResponseType
Basic access token error types.
ConfigurationError
There was a problem configuring the request.
CredentialsError
All errors that can occur when adding client credentials to the request.
CrossProcessRefreshLockError
An error that happened when interacting with the cross-process store lock during a token refresh.
DiscoveryError
All possible errors when fetching provider metadata.
Error
All possible errors when using this crate.
HttpClientError
Error type returned by built-in HTTP clients when requests fail.
IdTokenError
All possible errors when verifying an ID token.
IntrospectionError
All possible errors when introspecting a token.
JwksError
All possible errors when requesting a JWKS.
JwtVerificationError
All possible errors when verifying a JWT.
OauthAuthorizationCodeError
All errors that can occur when using the Authorization Code grant with the OAuth 2.0 API.
OauthDiscoveryError
All errors that can occur when discovering the OAuth 2.0 server metadata.
OauthTokenRevocationError
All errors that can occur when revoking an OAuth 2.0 token.
OidcError
All errors that can occur when using the OpenID Connect API.
PushedAuthorizationError
All possible errors when making a pushed authorization request.
RedirectUriQueryParseError
An error when trying to parse the query of a redirect URI.
RegistrationError
All possible errors when registering the client.
RequestTokenError
Error encountered while requesting access token.
RevocationErrorResponseType
OAuth 2.0 Token Revocation error response types.
TokenAuthorizationCodeError
All possible errors when exchanging a code for an access token.
TokenRefreshError
All possible errors when refreshing an access token.
TokenRequestError
All possible errors when requesting an access token.
TokenRevokeError
All possible errors when revoking a token.
UserInfoError
All possible errors when requesting user info.

Type Aliases§

BasicErrorResponse
Error response specialization for basic OAuth2 implementation.
BasicRequestTokenError
Token error specialization for basic OAuth2 implementation.
BasicRevocationErrorResponse
Revocation error response specialization for basic OAuth2 implementation.
BoxError
Alias for a type-erased error type.