pub enum SiloIdentityMode {
SamlJit,
LocalOnly,
SamlScim,
}Expand description
Describes how identities are managed and users are authenticated in this Silo
JSON schema
{
"description": "Describes how identities are managed and users are
authenticated in this Silo",
"oneOf": [
{
"description": "Users are authenticated with SAML using an external
authentication provider. The system updates information about users and
groups only during successful authentication (i.e,. \"JIT provisioning\"
of users and groups).",
"type": "string",
"enum": [
"saml_jit"
]
},
{
"description": "The system is the source of truth about users.
There is no linkage to an external authentication provider or identity
provider.",
"type": "string",
"enum": [
"local_only"
]
},
{
"description": "Users are authenticated with SAML using an external
authentication provider. Users and groups are managed with SCIM API
calls, likely from the same authentication provider.",
"type": "string",
"enum": [
"saml_scim"
]
}
]
}Variants§
SamlJit
Users are authenticated with SAML using an external authentication provider. The system updates information about users and groups only during successful authentication (i.e,. “JIT provisioning” of users and groups).
LocalOnly
The system is the source of truth about users. There is no linkage to an external authentication provider or identity provider.
SamlScim
Users are authenticated with SAML using an external authentication provider. Users and groups are managed with SCIM API calls, likely from the same authentication provider.
Trait Implementations§
Source§impl Clone for SiloIdentityMode
impl Clone for SiloIdentityMode
Source§fn clone(&self) -> SiloIdentityMode
fn clone(&self) -> SiloIdentityMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SiloIdentityMode
impl Debug for SiloIdentityMode
Source§impl<'de> Deserialize<'de> for SiloIdentityMode
impl<'de> Deserialize<'de> for SiloIdentityMode
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 Display for SiloIdentityMode
impl Display for SiloIdentityMode
Source§impl From<&SiloIdentityMode> for SiloIdentityMode
impl From<&SiloIdentityMode> for SiloIdentityMode
Source§fn from(value: &SiloIdentityMode) -> Self
fn from(value: &SiloIdentityMode) -> Self
Converts to this type from the input type.
Source§impl FromStr for SiloIdentityMode
impl FromStr for SiloIdentityMode
Source§impl Hash for SiloIdentityMode
impl Hash for SiloIdentityMode
Source§impl JsonSchema for SiloIdentityMode
impl JsonSchema for SiloIdentityMode
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl Ord for SiloIdentityMode
impl Ord for SiloIdentityMode
Source§fn cmp(&self, other: &SiloIdentityMode) -> Ordering
fn cmp(&self, other: &SiloIdentityMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SiloIdentityMode
impl PartialEq for SiloIdentityMode
Source§impl PartialOrd for SiloIdentityMode
impl PartialOrd for SiloIdentityMode
Source§impl Serialize for SiloIdentityMode
impl Serialize for SiloIdentityMode
Source§impl TryFrom<&String> for SiloIdentityMode
impl TryFrom<&String> for SiloIdentityMode
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for SiloIdentityMode
impl TryFrom<&str> for SiloIdentityMode
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for SiloIdentityMode
impl TryFrom<String> for SiloIdentityMode
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for SiloIdentityMode
impl Eq for SiloIdentityMode
impl StructuralPartialEq for SiloIdentityMode
Auto Trait Implementations§
impl Freeze for SiloIdentityMode
impl RefUnwindSafe for SiloIdentityMode
impl Send for SiloIdentityMode
impl Sync for SiloIdentityMode
impl Unpin for SiloIdentityMode
impl UnwindSafe for SiloIdentityMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.