n0passtemps 1.1.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,71 @@
1
+ """Client SDK for the n0passtemps authentication server.
2
+
3
+ ``Client`` speaks to the /v1 API with nothing but the standard library.
4
+ ``n0passtemps.assertion.Verifier`` checks the signed assertion offline and
5
+ needs the optional ``cryptography`` dependency for the Ed25519 primitive:
6
+ ``pip install n0passtemps[verify]``.
7
+ """
8
+
9
+ from .assertion import (
10
+ Claims,
11
+ KeySource,
12
+ RemoteJWKS,
13
+ StaticKeys,
14
+ Verifier,
15
+ jwk_thumbprint,
16
+ parse_jwks,
17
+ )
18
+ from .client import (
19
+ VERSION as __version__,
20
+ AssertionResult,
21
+ Client,
22
+ RecoveryBatch,
23
+ Subject,
24
+ TOTPEnrolment,
25
+ )
26
+ from .errors import (
27
+ APIError,
28
+ AuthenticationFailed,
29
+ ConfigurationError,
30
+ Conflict,
31
+ Forbidden,
32
+ InvalidAssertion,
33
+ N0PasstempsError,
34
+ NotFound,
35
+ ProtocolError,
36
+ Throttled,
37
+ TransportError,
38
+ Unauthorized,
39
+ Unavailable,
40
+ VerificationUnavailable,
41
+ )
42
+
43
+ __all__ = [
44
+ "__version__",
45
+ "Client",
46
+ "Subject",
47
+ "AssertionResult",
48
+ "RecoveryBatch",
49
+ "TOTPEnrolment",
50
+ "Verifier",
51
+ "Claims",
52
+ "KeySource",
53
+ "StaticKeys",
54
+ "RemoteJWKS",
55
+ "jwk_thumbprint",
56
+ "parse_jwks",
57
+ "N0PasstempsError",
58
+ "ConfigurationError",
59
+ "TransportError",
60
+ "ProtocolError",
61
+ "APIError",
62
+ "Unauthorized",
63
+ "Forbidden",
64
+ "NotFound",
65
+ "Conflict",
66
+ "AuthenticationFailed",
67
+ "Throttled",
68
+ "Unavailable",
69
+ "InvalidAssertion",
70
+ "VerificationUnavailable",
71
+ ]