Account¶
- class Account(token=None, url=None, channel=None, proxies=None, verify=True, preferences=None, local=False)[source]¶
Class that represents an account.
Account constructor.
- Parameters:
token (
Optional
[str
]) – Account token to use.url (
Optional
[str
]) – Authentication URL.channel (
Optional
[str
]) – Authentication channel (ibm_cloud/ibm_quantum)proxies (
Optional
[ProxyConfiguration
]) – Proxy configuration.verify (
Optional
[bool
]) – Whether to verify server’s TLS certificate.
Methods
Creates an account instance from data saved on disk.
Returns a dictionary that represents how the account is saved on disk.
Validates the account instance.