Struct mas_data_model::UpstreamOAuthProvider
source · pub struct UpstreamOAuthProvider {Show 19 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 scope: Scope,
pub token_endpoint_override: Option<Url>,
pub client_id: String,
pub encrypted_client_secret: Option<String>,
pub token_endpoint_signing_alg: Option<JsonWebSignatureAlg>,
pub token_endpoint_auth_method: TokenAuthMethod,
pub response_mode: ResponseMode,
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>
§scope: Scope
§token_endpoint_override: Option<Url>
§client_id: String
§encrypted_client_secret: Option<String>
§token_endpoint_signing_alg: Option<JsonWebSignatureAlg>
§token_endpoint_auth_method: TokenAuthMethod
§response_mode: ResponseMode
§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§impl PartialOrd for UpstreamOAuthProvider
impl PartialOrd for UpstreamOAuthProvider
source§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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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