Trait aliri_oauth2::scope::HasScope

source ·
pub trait HasScope {
    // Required method
    fn scope(&self) -> &Scope;
}
Expand description

Indicates that the type has an OAuth2 (or OIDC) scope claim

Required Methods§

source

fn scope(&self) -> &Scope

OAuth2 (or OIDC) scope

Scope claimed by the underlying token, generally in the scope claim.

Implementors§