pyeudiw.satosa package

Subpackages

Submodules

pyeudiw.satosa.exceptions module

exception pyeudiw.satosa.exceptions.AuthorizeUnmatchedResponse[source]

Bases: Exception

Raised when an authorization response cannot be matched to an authentication request

exception pyeudiw.satosa.exceptions.BadRequestError[source]

Bases: Exception

Bad Request error.

This exception should be raised when we want to return an HTTP 400 Bad Request

exception pyeudiw.satosa.exceptions.DiscoveryFailedError[source]

Bases: Exception

Raised when the discovery fails

exception pyeudiw.satosa.exceptions.EmptyHTTPError[source]

Bases: HTTPError

Default HTTP empty error

exception pyeudiw.satosa.exceptions.FinalizedSessionError[source]

Bases: BadRequestError

Raised when an authorization request or respsonse attempts at updating or modifying an already finalized authentication session.

exception pyeudiw.satosa.exceptions.HTTPError[source]

Bases: Exception

Raised when an error occurs during an HTTP request

exception pyeudiw.satosa.exceptions.InternalServerError[source]

Bases: Exception

Bad Request error.

This exception should be raised when we want to return an HTTP 400 Bad Request

exception pyeudiw.satosa.exceptions.InvalidInternalStateError[source]

Bases: InternalServerError

This is specification of InternalServerError that specify that the internal error is caused by an invalid backend, storage or cache state.

exception pyeudiw.satosa.exceptions.InvalidRequestException(message: str)[source]

Bases: Exception

Exception raised when a request is invalid according to OpenID4VCI specifications.

Attributes:

message (str): A human-readable explanation of why the request is invalid.

Module contents