Skip to main content

initial_scope

Function initial_scope 

Source
pub fn initial_scope(
    challenge: &BearerChallenge,
    resource_scopes_supported: Option<&[String]>,
) -> Option<String>
Expand description

Picks the scope for the first authorization request.

None means send no scope parameter at all, which is what the page asks when neither the challenge nor scopes_supported names any.