Przejdź do głównej zawartości

Authentication: With xades

Ta treść nie jest jeszcze dostępna w Twoim języku.

Authenticate with an XAdES-signed challenge response.

Called on client.authentication
Source src/ksef2/clients/auth.py:131 Generated from async source src/ksef2/clients/async_auth.py
client.authentication.with_xades
client.authentication.with_xades(*, nip: str, cert: Certificate, private_key: XAdESPrivateKey, verify_chain: bool = False, timeout: float = 60.0, poll_interval: float = 1.0) -> AuthenticatedClient

Returns

AuthenticatedClient

Parameters

nip str
required / keyword-only
cert Certificate
required / keyword-only
private_key XAdESPrivateKey
required / keyword-only
verify_chain bool
default False / keyword-only
timeout float
default 60.0 / keyword-only
poll_interval float
default 1.0 / keyword-only
Called on async_client.authentication
Source src/ksef2/clients/async_auth.py:129 Authored source
await async_client.authentication.with_xades
await async_client.authentication.with_xades(*, nip: str, cert: Certificate, private_key: XAdESPrivateKey, verify_chain: bool = False, timeout: float = 60.0, poll_interval: float = 1.0) -> AsyncAuthenticatedClient

Returns

AsyncAuthenticatedClient

Parameters

nip str
required / keyword-only
cert Certificate
required / keyword-only
private_key XAdESPrivateKey
required / keyword-only
verify_chain bool
default False / keyword-only
timeout float
default 60.0 / keyword-only
poll_interval float
default 1.0 / keyword-only