pub type UserInfo = UserInfo;Expand description
Basic user information. Alias for the canonical crate::auth::UserInfo.
Aliased Type§
pub struct UserInfo {
pub id: String,
pub username: String,
pub email: Option<String>,
pub name: Option<String>,
pub roles: Roles,
pub active: bool,
pub email_verified: bool,
pub attributes: UserAttributes,
}Fields§
§id: StringUser ID
username: StringUsername
email: Option<String>Email address
name: Option<String>Display name
roles: RolesUser roles
active: boolWhether the user is active
email_verified: boolWhether the user’s email address has been verified
attributes: UserAttributesAdditional user attributes