Acquire.Client._wallet module¶
-
class
Wallet[source]¶ Bases:
objectThis class holds a wallet that can be used to simplify sending passwords and one-time-password (OTP) codes to an acquire identity service.
This holds a wallet of passwords and (optionally) OTP secrets that are encrypted using a local keypair that is unlocked by a password supplied by the user locally.
-
static
add_service(service)[source]¶ Add a cached service info for the passed service. If it already exists, then this verifies that the added service is the same as the previously-seen service
-
static
get_service(service_url)[source]¶ Return the service at ‘service_url’. This will return the cached service if it exists, or will add a new service if the user so wishes
-
static