session#
The following methods allow for interaction with the ZPA Session creation / deletion endpoints.
Methods are accessible via zpa.session
- class AuthenticatedSessionAPI#
- __init__(api)#
- create_token(client_id, client_secret)#
Creates a ZPA authentication token.
- Parameters:
- Returns:
The authenticated session information.
- Return type:
Examples
>>> zpa.session.create_token(client_id='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx==', ... client_secret='yyyyyyyyyyyyyyyyyyyyyyyyyyyyyy')