Skip to main content

resolve_device_scopes

Function resolve_device_scopes 

Source
fn resolve_device_scopes(
    client: &OAuthClient,
    scope: Option<&str>,
) -> Result<Vec<String>, ControllerError>
Expand description

Resolve and validate the requested scopes against the client’s registered scopes. An empty/absent request defaults to the client’s full scope set (RFC 8628 §3.1 makes scope optional).