pub async fn list_o_auth2_consent_sessions(
    configuration: &Configuration,
    subject: &str,
    page_size: Option<i64>,
    page_token: Option<&str>,
    login_session_id: Option<&str>
) -> Result<Vec<OAuth2ConsentSession>, Error<ListOAuth2ConsentSessionsError>>
Expand description

This endpoint lists all subject’s granted consent sessions, including client and granted scope. If the subject is unknown or has not granted any consent sessions yet, the endpoint returns an empty JSON array with status code 200 OK.