Expand description
Error types used in the OAuth API.
Structs§
- Standard
Error Response - Error response returned by server after requesting an access token.
Enums§
- Authorization
Code Error Response Type - Error response returned by server after requesting an authorization code.
- Basic
Error Response Type - Basic access token error types.
- Client
Registration Error Response Type - Error response returned by server after requesting an authorization code.
- Configuration
Error - There was a problem configuring the request.
- Cross
Process Refresh Lock Error e2e-encryption - An error that happened when interacting with the cross-process store lock during a token refresh.
- Device
AuthorizationO Auth Error - Error type describing failures in the interaction between the device attempting to log in and the OAuth 2.0 authorization server, when using the device authorization grant defined in RFC 8628 and specified in the Matrix specification.
- Device
Code Error Response Type - Basic access token error types.
- Device
Code Login Error - All errors that can occur when logging in with the device authorization
grant, using
OAuth::login_with_device_code(). - Http
Client Error - Error type returned by built-in HTTP clients when requests fail.
- OAuth
Authorization Code Error - All errors that can occur when using the Authorization Code grant with the OAuth 2.0 API.
- OAuth
Client Registration Error - All errors that can occur when registering a client with an OAuth 2.0 authorization server.
- OAuth
Discovery Error - All errors that can occur when discovering the OAuth 2.0 server metadata.
- OAuth
Error - All errors that can occur when using the OAuth 2.0 API.
- OAuth
Token Revocation Error - All errors that can occur when revoking an OAuth 2.0 token.
- Redirect
UriQuery Parse Error - An error when trying to parse the query of a redirect URI.
- Request
Token Error - Error encountered while requesting access token.
- Revocation
Error Response Type - OAuth 2.0 Token Revocation error response types.
Type Aliases§
- Basic
Error Response - Error response specialization for basic OAuth2 implementation.
- Basic
Request Token Error - Token error specialization for basic OAuth2 implementation.
- Basic
Revocation Error Response - Revocation error response specialization for basic OAuth2 implementation.
- Device
Code Error Response - Error response specialization for device code OAuth2 implementation.
- OAuth
Request Error - An error when interacting with the OAuth 2.0 authorization server.