normalize_scopes

Function normalize_scopes 

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

Normalizes scopes with Forge’s default openid email profile value.

§Errors

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