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 passkey CredentialsTypePasskey profile CredentialsTypeProfile saml CredentialsTypeSAML 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 more