pub enum LocalAccountAuth {
Enabled,
Disabled,
Fallback,
LocalFirst,
}
Variants§
Enabled
The service shall authenticate users based on the account service-defined manager accounts resource collection.
Disabled
The service shall never authenticate users based on the account service-defined manager accounts resource collection.
Fallback
The service shall authenticate users based on the account service-defined manager accounts resource collection only if any external account providers are currently unreachable.
LocalFirst
The service shall first authenticate users based on the account service-defined manager accounts resource collection. If authentication fails, the service shall authenticate by using external account providers. Added in version v1_6_0.
Trait Implementations§
Source§impl Clone for LocalAccountAuth
impl Clone for LocalAccountAuth
Source§fn clone(&self) -> LocalAccountAuth
fn clone(&self) -> LocalAccountAuth
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LocalAccountAuth
impl Debug for LocalAccountAuth
Source§impl Default for LocalAccountAuth
impl Default for LocalAccountAuth
Source§fn default() -> LocalAccountAuth
fn default() -> LocalAccountAuth
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LocalAccountAuth
impl<'de> Deserialize<'de> for LocalAccountAuth
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 LocalAccountAuth
impl Metadata<'static> for LocalAccountAuth
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 LocalAccountAuth
impl RefUnwindSafe for LocalAccountAuth
impl Send for LocalAccountAuth
impl Sync for LocalAccountAuth
impl Unpin for LocalAccountAuth
impl UnwindSafe for LocalAccountAuth
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