cyphermed.api.account.get_current_session_access

def sync_detailed( *, client: cyphermed.client.AuthenticatedClient) -> cyphermed.types.Response[cyphermed.models.current_session_access_info.CurrentSessionAccessInfo]:

Get Current Session Access

Get org access for the current account, plus project access if logged into a project

Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.

Returns: Response[CurrentSessionAccessInfo]

def sync( *, client: cyphermed.client.AuthenticatedClient) -> Optional[cyphermed.models.current_session_access_info.CurrentSessionAccessInfo]:

Get Current Session Access

Get org access for the current account, plus project access if logged into a project

Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.

Returns: CurrentSessionAccessInfo

async def asyncio_detailed( *, client: cyphermed.client.AuthenticatedClient) -> cyphermed.types.Response[cyphermed.models.current_session_access_info.CurrentSessionAccessInfo]:

Get Current Session Access

Get org access for the current account, plus project access if logged into a project

Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.

Returns: Response[CurrentSessionAccessInfo]

async def asyncio( *, client: cyphermed.client.AuthenticatedClient) -> Optional[cyphermed.models.current_session_access_info.CurrentSessionAccessInfo]:

Get Current Session Access

Get org access for the current account, plus project access if logged into a project

Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.

Returns: CurrentSessionAccessInfo