Skip to main content

requested_scopes

Function requested_scopes 

Source
pub fn requested_scopes(
    cfg: &ServiceOAuthConfig,
    extra: &[String],
) -> Result<Vec<String>, String>
Expand description

The scopes a connect asks for: the provider’s base scopes, then extra (a service being turned on), without repeats. Each must be an RFC 6749 §3.3 scope token.