Skip to main content

CUSTOM_SCOPE_PREFIX

Constant CUSTOM_SCOPE_PREFIX 

Source
pub const CUSTOM_SCOPE_PREFIX: &str = "custom:";
Expand description

Any scope string starting with CUSTOM_SCOPE_PREFIX is accepted by validate_scopes, passes through expand_scopes unchanged, and is treated as non-sensitive unless the application opts in via out-of-band policy.

Example: "custom:acme:inventory:read"