Skip to content

Authentication: With test certificate

Authenticate in the TEST environment using an SDK-generated certificate.

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

Returns

AuthenticatedClient

Parameters

nip str
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:180 Authored source
await async_client.authentication.with_test_certificate
await async_client.authentication.with_test_certificate(*, nip: str, verify_chain: bool = False, timeout: float = 60.0, poll_interval: float = 1.0) -> AsyncAuthenticatedClient

Returns

AsyncAuthenticatedClient

Parameters

nip str
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