pub struct ExternalLoginLinkCreate {
pub link_token: String,
pub password: String,
pub username: String,
pub extra: Map<String, Value>,
}Expand description
Credentials used to prove ownership of a local account for a pending external identity. The token must originate from the preceding external login in the same browser session.
Fields§
§link_token: StringOpaque, session-bound linking token from the account-linking redirect. Expires 600 seconds after creation.
password: StringPassword for that account; does not replace the second-factor step.
username: StringUsername or email address verified by the configured ChurchTools credential authentication, including legacy LDAP when configured.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for ExternalLoginLinkCreate
impl Clone for ExternalLoginLinkCreate
Source§impl Debug for ExternalLoginLinkCreate
impl Debug for ExternalLoginLinkCreate
Source§impl Default for ExternalLoginLinkCreate
impl Default for ExternalLoginLinkCreate
Source§impl<'de> Deserialize<'de> for ExternalLoginLinkCreate
impl<'de> Deserialize<'de> for ExternalLoginLinkCreate
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 PartialEq for ExternalLoginLinkCreate
impl PartialEq for ExternalLoginLinkCreate
Source§impl Serialize for ExternalLoginLinkCreate
impl Serialize for ExternalLoginLinkCreate
impl StructuralPartialEq for ExternalLoginLinkCreate
Auto Trait Implementations§
impl Freeze for ExternalLoginLinkCreate
impl RefUnwindSafe for ExternalLoginLinkCreate
impl Send for ExternalLoginLinkCreate
impl Sync for ExternalLoginLinkCreate
impl Unpin for ExternalLoginLinkCreate
impl UnsafeUnpin for ExternalLoginLinkCreate
impl UnwindSafe for ExternalLoginLinkCreate
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