pub struct IdentityCredentials {
pub config: Option<Value>,
pub created_at: Option<String>,
pub identifiers: Option<Vec<String>>,
pub _type: Option<TypeEnum>,
pub updated_at: Option<String>,
pub version: Option<i64>,
}
Expand description
IdentityCredentials : Credentials represents a specific credential type
Fields§
§config: Option<Value>
§created_at: Option<String>
CreatedAt is a helper struct field for gobuffalo.pop.
identifiers: Option<Vec<String>>
Identifiers represents a list of unique identifiers this credential type matches.
_type: Option<TypeEnum>
Type discriminates between different types of credentials. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode
updated_at: Option<String>
UpdatedAt is a helper struct field for gobuffalo.pop.
version: Option<i64>
Version refers to the version of the credential. Useful when changing the config schema.
Implementations§
source§impl IdentityCredentials
impl IdentityCredentials
sourcepub fn new() -> IdentityCredentials
pub fn new() -> IdentityCredentials
Credentials represents a specific credential type
Trait Implementations§
source§impl Clone for IdentityCredentials
impl Clone for IdentityCredentials
source§fn clone(&self) -> IdentityCredentials
fn clone(&self) -> IdentityCredentials
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IdentityCredentials
impl Debug for IdentityCredentials
source§impl Default for IdentityCredentials
impl Default for IdentityCredentials
source§impl<'de> Deserialize<'de> for IdentityCredentials
impl<'de> Deserialize<'de> for IdentityCredentials
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>,
source§impl PartialEq for IdentityCredentials
impl PartialEq for IdentityCredentials
source§fn eq(&self, other: &IdentityCredentials) -> bool
fn eq(&self, other: &IdentityCredentials) -> bool
self
and other
values to be equal, and is used
by ==
.