Function aspotify::authorization_url_with_state[][src]

pub fn authorization_url_with_state(
    client_id: &str,
    scopes: impl IntoIterator<Item = Scope>,
    force_approve: bool,
    redirect_uri: &str,
    state: &str
) -> String
Expand description

Like authorization_url, but you supply your own state.

It is recommended to use randomly generated state for security, so use this if you wish to use your own random state generator.

This function, unlike authorization_url does not require features to be activated.

See the docs of the other function for information about the parameters.