Skip to main content

pushed_request_params

Function pushed_request_params 

Source
pub fn pushed_request_params(
    client_id: &str,
    redirect_uri: &str,
    code_challenge: &str,
    state: Option<&str>,
    scope: Option<&str>,
    nonce: Option<&str>,
    resource: &[String],
    extra: &[(String, String)],
) -> Result<Vec<(String, String)>, AuthError>
Expand description

The authorize parameters of a pushed request, in order. client_id is set again by client authentication.

extra carries more authorize parameters (prompt, login_hint, max_age, organization …). Not allowed: anything that authenticates the client, request, request_uri, or a parameter this function already owns (in any letter case).