Skip to main content

exchange_token_exchange

Function exchange_token_exchange 

Source
pub async fn exchange_token_exchange(
    state: &Arc<OAuthState>,
    subject_token: &str,
    subject_token_type: &str,
    audience: Option<&str>,
    scope: Option<&str>,
    actor_token: Option<&str>,
    output_dpop_proof: Option<DpopProof>,
    requested_token_type: Option<&str>,
    tenant: Option<&str>,
    client_id: &str,
) -> Response
Expand description

POST /oauth/token — token-exchange grant (RFC 8693).