pub struct OAuth2S {
pub audience: Option<Vec<String>>,
pub issuer: Option<String>,
pub mode: Option<OAuth2M>,
pub o_auth_service_signing_keys: Option<String>,
pub oem: Option<Oem>,
}
Expand description
Various settings to parse an OAuth 2.0 service.
Fields§
§audience: Option<Vec<String>>
The allowable audience strings of the Redfish service.
issuer: Option<String>
The issuer string of the OAuth 2.0 service. Clients should configure this property if Mode contains Offline
.
mode: Option<OAuth2M>
§o_auth_service_signing_keys: Option<String>
The Base64-encoded signing keys of the issuer of the OAuth 2.0 service. Clients should configure this property if Mode contains Offline
.
oem: Option<Oem>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OAuth2S
impl<'de> Deserialize<'de> for OAuth2S
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 OAuth2S
impl Metadata<'static> for OAuth2S
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 OAuth2S
impl RefUnwindSafe for OAuth2S
impl Send for OAuth2S
impl Sync for OAuth2S
impl Unpin for OAuth2S
impl UnwindSafe for OAuth2S
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