pub enum OAuth2M {
Discovery,
Offline,
}
Variants§
Discovery
This value shall indicate the service performs token validation from information found at the URIs specified by the ServiceAddresses property. Services shall implement a caching method of this information so it’s not necessary to retrieve metadata and key information for every request containing a token.
Offline
This value shall indicate the service performs token validation from properties configured by a client. Clients should configure the Issuer and OAuthServiceSigningKeys properties for this mode.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OAuth2M
impl<'de> Deserialize<'de> for OAuth2M
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Metadata<'static> for OAuth2M
impl Metadata<'static> for OAuth2M
Source§const JSON_SCHEMA: &'static str = "AccountService.v1_13_0.json"
const JSON_SCHEMA: &'static str = "AccountService.v1_13_0.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for OAuth2M
impl RefUnwindSafe for OAuth2M
impl Send for OAuth2M
impl Sync for OAuth2M
impl Unpin for OAuth2M
impl UnwindSafe for OAuth2M
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more