Struct mas_data_model::UpstreamOAuthProvider
source · pub struct UpstreamOAuthProvider {Show 18 fields
pub id: Ulid,
pub issuer: String,
pub human_name: Option<String>,
pub brand_name: Option<String>,
pub discovery_mode: DiscoveryMode,
pub pkce_mode: PkceMode,
pub jwks_uri_override: Option<Url>,
pub authorization_endpoint_override: Option<Url>,
pub token_endpoint_override: Option<Url>,
pub scope: Scope,
pub client_id: String,
pub encrypted_client_secret: Option<String>,
pub token_endpoint_signing_alg: Option<JsonWebSignatureAlg>,
pub token_endpoint_auth_method: OAuthClientAuthenticationMethod,
pub created_at: DateTime<Utc>,
pub disabled_at: Option<DateTime<Utc>>,
pub claims_imports: ClaimsImports,
pub additional_authorization_parameters: Vec<(String, String)>,
}
Fields§
§id: Ulid
§issuer: String
§human_name: Option<String>
§brand_name: Option<String>
§discovery_mode: DiscoveryMode
§pkce_mode: PkceMode
§jwks_uri_override: Option<Url>
§token_endpoint_override: Option<Url>
§scope: Scope
§client_id: String
§encrypted_client_secret: Option<String>
§token_endpoint_signing_alg: Option<JsonWebSignatureAlg>
§token_endpoint_auth_method: OAuthClientAuthenticationMethod
§created_at: DateTime<Utc>
§disabled_at: Option<DateTime<Utc>>
§claims_imports: ClaimsImports
Implementations§
Trait Implementations§
source§impl Clone for UpstreamOAuthProvider
impl Clone for UpstreamOAuthProvider
source§fn clone(&self) -> UpstreamOAuthProvider
fn clone(&self) -> UpstreamOAuthProvider
Returns a copy 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 UpstreamOAuthProvider
impl Debug for UpstreamOAuthProvider
source§impl Ord for UpstreamOAuthProvider
impl Ord for UpstreamOAuthProvider
source§impl PartialEq for UpstreamOAuthProvider
impl PartialEq for UpstreamOAuthProvider
source§fn eq(&self, other: &UpstreamOAuthProvider) -> bool
fn eq(&self, other: &UpstreamOAuthProvider) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for UpstreamOAuthProvider
impl PartialOrd for UpstreamOAuthProvider
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for UpstreamOAuthProvider
impl Serialize for UpstreamOAuthProvider
impl Eq for UpstreamOAuthProvider
impl StructuralPartialEq for UpstreamOAuthProvider
Auto Trait Implementations§
impl Freeze for UpstreamOAuthProvider
impl RefUnwindSafe for UpstreamOAuthProvider
impl Send for UpstreamOAuthProvider
impl Sync for UpstreamOAuthProvider
impl Unpin for UpstreamOAuthProvider
impl UnwindSafe for UpstreamOAuthProvider
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,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.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.source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more