#[non_exhaustive]pub enum AuthPage {
Login,
Logout,
Register,
ForgotPassword,
VerifyEmail,
Profile,
TwoFactor,
TenantProfile,
RegisterTenant,
SwitchTenant,
Impersonate,
StopImpersonating,
}Expand description
A page or an endpoint auth serves on a panel, for auth.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Login
The sign-in page, {prefix}/login: on every panel but an Auth::disabled one.
Logout
Where a sign-out form posts, {prefix}/logout, with the CSRF field.
Register
The sign-up page of Auth::registration.
ForgotPassword
The forgot-password page of Auth::password_reset.
VerifyEmail
The notice that asks a user to prove their address, of
Auth::email_verification.
Profile
The profile page of Auth::profile.
TwoFactor
The two-factor settings page of Auth::two_factor.
TenantProfile
The tenant settings page of Auth::tenant_profile.
RegisterTenant
The page that creates a tenant, of
Auth::tenant_registration.
SwitchTenant
Where the tenant switch posts TENANT_FIELD, on a panel that
acts for tenants.
Impersonate
Where a form posts IMPERSONATE_FIELD to act as a user,
under Auth::impersonation.
StopImpersonating
Where the Stop form posts to end acting as a user.
Trait Implementations§
impl Copy for AuthPage
impl Eq for AuthPage
impl StructuralPartialEq for AuthPage
Auto Trait Implementations§
impl Freeze for AuthPage
impl RefUnwindSafe for AuthPage
impl Send for AuthPage
impl Sync for AuthPage
impl Unpin for AuthPage
impl UnsafeUnpin for AuthPage
impl UnwindSafe for AuthPage
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.