dca.cloudservices.idtoken

Operation: GET /dataservice/dca/cloudservices/idtoken

Get DCA Id token

def get_id_token() -> Any: ...

Example:

from catalyswan.core import create_client

url = "example.com"
username = "admin"
password = "password123"

with create_client(
    url=url, username=username, password=password
) as client:
    client.dca.cloudservices.idtoken.get_id_token()

Operation: POST /dataservice/dca/cloudservices/idtoken

Set DCA Id token

def store_id_token(payload: Optional[Any] = None) -> None: ...

Example:

from catalyswan.core import create_client

url = "example.com"
username = "admin"
password = "password123"

with create_client(
    url=url, username=username, password=password
) as client:
    client.dca.cloudservices.idtoken.store_id_token()