pyeudiw.satosa.frontends.openid4vci.tools package

Submodules

pyeudiw.satosa.frontends.openid4vci.tools.config module

class pyeudiw.satosa.frontends.openid4vci.tools.config.Openid4VciFrontendConfigUtils(config: Any)[source]

Bases: object

Utility class to simplify access to OpenID4VCI frontend configuration data.

This class wraps the frontend configuration and exposes convenient methods to retrieve JWT settings, OAuth authorization server metadata, OpenID credential issuer metadata, and supported credential configurations.

Args:
config (Any): The configuration object or dictionary.

If not already an instance of PyeudiwFrontendConfig, it will be parsed into one.

get_credential_configurations() CredentialConfigurationsConfig[source]
get_credential_configurations_supported() Dict[str, CredentialConfiguration] | None[source]
get_jwt() JWTConfig[source]
get_jwt_default_sig_alg() str[source]
get_oauth_authorization_server() OauthAuthorizationServerMetadata[source]
get_openid_credential_issuer() OpenidCredentialIssuerMetadata[source]

pyeudiw.satosa.frontends.openid4vci.tools.exceptions module

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

Bases: Exception

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

exception pyeudiw.satosa.frontends.openid4vci.tools.exceptions.InvalidScopeException(message: str)[source]

Bases: Exception

Exception raised when a request contains an invalid or unsupported scope.

Attributes:

message (str): A human-readable explanation of the scope error.

Module contents