normalize_scopes_with_default

Function normalize_scopes_with_default 

Source
pub fn normalize_scopes_with_default(
    value: Option<&str>,
    default_scopes: &str,
    protocol: ExternalAuthProtocol,
) -> Result<String>
Expand description

Normalizes scopes with a caller-provided default.

ยงErrors

Returns ExternalAuthError when the provider input violates its format, length, or protocol contract.