pub struct AuthResolverResponse {
pub id: Option<String>,
pub email: Option<String>,
pub allow_domain_access: Option<bool>,
pub users: Option<Box<Vec<AuthUser>>>,
pub locked_users: Option<Box<Vec<AuthUser>>>,
pub available_organizations: Option<Box<Vec<AuthOrganization>>>,
pub locked_organizations: Option<Box<Vec<AuthOrganization>>>,
pub last_used_organization_id: Option<String>,
pub service: Option<String>,
pub token: Option<String>,
}Fields§
§id: Option<String>User account ID.
email: Option<String>Email for the authenticated account.
allow_domain_access: Option<bool>Should the signup flow allow access for the domain.
users: Option<Box<Vec<AuthUser>>>List of active users that belong to the user account.
locked_users: Option<Box<Vec<AuthUser>>>List of locked users that are locked by login restrictions
available_organizations: Option<Box<Vec<AuthOrganization>>>List of organizations allowing this user account to join automatically.
locked_organizations: Option<Box<Vec<AuthOrganization>>>List of organization available to this user account but locked due to the current auth method.
last_used_organization_id: Option<String>ID of the organization last accessed by the user.
service: Option<String>The authentication service used for the current session (e.g., google, email, saml).
token: Option<String>Application token.
Trait Implementations§
Source§impl Clone for AuthResolverResponse
impl Clone for AuthResolverResponse
Source§fn clone(&self) -> AuthResolverResponse
fn clone(&self) -> AuthResolverResponse
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 AuthResolverResponse
impl Debug for AuthResolverResponse
Source§impl Default for AuthResolverResponse
impl Default for AuthResolverResponse
Source§fn default() -> AuthResolverResponse
fn default() -> AuthResolverResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthResolverResponsewhere
AuthResolverResponse: Default,
impl<'de> Deserialize<'de> for AuthResolverResponsewhere
AuthResolverResponse: Default,
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 GraphQLFields for AuthResolverResponse
impl GraphQLFields for AuthResolverResponse
Auto Trait Implementations§
impl Freeze for AuthResolverResponse
impl RefUnwindSafe for AuthResolverResponse
impl Send for AuthResolverResponse
impl Sync for AuthResolverResponse
impl Unpin for AuthResolverResponse
impl UnwindSafe for AuthResolverResponse
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