pub struct OAuth2Auth0 {
pub id: String,
pub enabled: bool,
pub client_id: String,
pub client_secret: String,
pub endpoint: String,
}Expand description
OAuth2Auth0
Fields§
§id: StringOAuth2 provider ID.
enabled: boolOAuth2 provider is active and can be used to create sessions.
client_id: StringAuth0 OAuth2 client ID.
client_secret: StringAuth0 OAuth2 client secret.
endpoint: StringAuth0 OAuth2 endpoint domain.
Implementations§
Trait Implementations§
Source§impl Clone for OAuth2Auth0
impl Clone for OAuth2Auth0
Source§fn clone(&self) -> OAuth2Auth0
fn clone(&self) -> OAuth2Auth0
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 OAuth2Auth0
impl Debug for OAuth2Auth0
Source§impl<'de> Deserialize<'de> for OAuth2Auth0
impl<'de> Deserialize<'de> for OAuth2Auth0
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 Serialize for OAuth2Auth0
impl Serialize for OAuth2Auth0
impl Model for OAuth2Auth0
Auto Trait Implementations§
impl Freeze for OAuth2Auth0
impl RefUnwindSafe for OAuth2Auth0
impl Send for OAuth2Auth0
impl Sync for OAuth2Auth0
impl Unpin for OAuth2Auth0
impl UnsafeUnpin for OAuth2Auth0
impl UnwindSafe for OAuth2Auth0
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