Trait poem_openapi::OAuthScopes
source · pub trait OAuthScopes {
// Required methods
fn meta() -> Vec<MetaOAuthScope>;
fn name(&self) -> &'static str;
}
Expand description
Represents a OAuth scopes.
pub trait OAuthScopes {
// Required methods
fn meta() -> Vec<MetaOAuthScope>;
fn name(&self) -> &'static str;
}
Represents a OAuth scopes.