pub struct AppAuthConfiguration {
pub app_name: String,
pub allowed_tags: Vec<AccessTag>,
pub sign_up_opts: SignUpOpts,
pub sign_in_opts: SignInOpts,
pub client_based_auth_opts: ClientBasedAuthorizationOpts,
pub tokens_lifetime: TokenLifetimes,
pub app_pkey: Option<Vec<u8>>,
}Expand description
Application config.
Fields§
§app_name: StringApplication name.
All application tags’ list.
sign_up_opts: SignUpOptsSign up options.
sign_in_opts: SignInOptsSign in options.
client_based_auth_opts: ClientBasedAuthorizationOptsClient-based authorization options.
tokens_lifetime: TokenLifetimesTokens’ lifetimes.
app_pkey: Option<Vec<u8>>Your application’s public key.
Implementations§
Trait Implementations§
Source§impl Clone for AppAuthConfiguration
impl Clone for AppAuthConfiguration
Source§fn clone(&self) -> AppAuthConfiguration
fn clone(&self) -> AppAuthConfiguration
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AppAuthConfiguration
impl Debug for AppAuthConfiguration
Source§impl<'de> Deserialize<'de> for AppAuthConfiguration
impl<'de> Deserialize<'de> for AppAuthConfiguration
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
impl Eq for AppAuthConfiguration
Source§impl PartialEq for AppAuthConfiguration
impl PartialEq for AppAuthConfiguration
Source§fn eq(&self, other: &AppAuthConfiguration) -> bool
fn eq(&self, other: &AppAuthConfiguration) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AppAuthConfiguration
impl Serialize for AppAuthConfiguration
impl StructuralPartialEq for AppAuthConfiguration
Source§impl ToSchema for AppAuthConfiguration
impl ToSchema for AppAuthConfiguration
Auto Trait Implementations§
impl Freeze for AppAuthConfiguration
impl RefUnwindSafe for AppAuthConfiguration
impl Send for AppAuthConfiguration
impl Sync for AppAuthConfiguration
impl Unpin for AppAuthConfiguration
impl UnsafeUnpin for AppAuthConfiguration
impl UnwindSafe for AppAuthConfiguration
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.