OAuth2Error
Defined in: src/oauth/error.ts:21
Errors expected to be encountered during OAuth2 discovery, client registration, and authentication. Not intended to be displayed directly to the user.
Enumeration Members
Section titled “Enumeration Members”CodeExchangeFailed
Section titled “CodeExchangeFailed”CodeExchangeFailed:
"Failed to exchange code for token"
Defined in: src/oauth/error.ts:27
DeviceAuthorizationGrantFailed
Section titled “DeviceAuthorizationGrantFailed”DeviceAuthorizationGrantFailed:
"Failed to perform device authorization grant"
Defined in: src/oauth/error.ts:33
DynamicRegistrationFailed
Section titled “DynamicRegistrationFailed”DynamicRegistrationFailed:
"Dynamic registration failed"
Defined in: src/oauth/error.ts:25
DynamicRegistrationInvalid
Section titled “DynamicRegistrationInvalid”DynamicRegistrationInvalid:
"Dynamic registration invalid response"
Defined in: src/oauth/error.ts:26
DynamicRegistrationNotSupported
Section titled “DynamicRegistrationNotSupported”DynamicRegistrationNotSupported:
"Dynamic registration not supported"
Defined in: src/oauth/error.ts:24
General
Section titled “General”General:
"Something went wrong with OAuth2 discovery"
Defined in: src/oauth/error.ts:22
InvalidBearerTokenResponse
Section titled “InvalidBearerTokenResponse”InvalidBearerTokenResponse:
"Invalid bearer token response"
Defined in: src/oauth/error.ts:28
InvalidDeviceAuthorizationResponse
Section titled “InvalidDeviceAuthorizationResponse”InvalidDeviceAuthorizationResponse:
"Invalid device authorization response"
Defined in: src/oauth/error.ts:29
MissingOrInvalidStoredState
Section titled “MissingOrInvalidStoredState”MissingOrInvalidStoredState:
"State required to finish logging in is not found in storage."
Defined in: src/oauth/error.ts:30
OpSupport
Section titled “OpSupport”OpSupport:
"Configured OAuth2 OP does not support required functions"
Defined in: src/oauth/error.ts:23
RefreshTokenFailed
Section titled “RefreshTokenFailed”RefreshTokenFailed:
"Failed to refresh token"
Defined in: src/oauth/error.ts:31
RevokeTokenFailed
Section titled “RevokeTokenFailed”RevokeTokenFailed:
"Failed to revoke token"
Defined in: src/oauth/error.ts:32