Struct ory_client::models::normalized_project_revision_third_party_provider::NormalizedProjectRevisionThirdPartyProvider
source · [−]pub struct NormalizedProjectRevisionThirdPartyProvider {Show 19 fields
pub apple_private_key: Option<String>,
pub apple_private_key_id: Option<String>,
pub apple_team_id: Option<String>,
pub auth_url: Option<String>,
pub azure_tenant: Option<String>,
pub client_id: Option<String>,
pub client_secret: Option<String>,
pub created_at: Option<String>,
pub id: Option<String>,
pub issuer_url: Option<String>,
pub label: Option<String>,
pub mapper_url: Option<String>,
pub project_revision_id: Option<String>,
pub provider: Option<String>,
pub provider_id: Option<String>,
pub requested_claims: Option<Value>,
pub scope: Option<Vec<String>>,
pub token_url: Option<String>,
pub updated_at: Option<String>,
}
Fields
apple_private_key: Option<String>
apple_private_key_id: Option<String>
Apple Private Key Identifier Sign In with Apple Private Key Identifier needed for generating a JWT token for client secret
apple_team_id: Option<String>
Apple Developer Team ID Apple Developer Team ID needed for generating a JWT token for client secret
auth_url: Option<String>
AuthURL is the authorize url, typically something like: https://example.org/oauth2/auth Should only be used when the OAuth2 / OpenID Connect server is not supporting OpenID Connect Discovery and when provider
is set to generic
.
azure_tenant: Option<String>
Tenant is the Azure AD Tenant to use for authentication, and must be set when provider
is set to microsoft
. Can be either common
, organizations
, consumers
for a multitenant application or a specific tenant like 8eaef023-2b34-4da1-9baa-8bc8c9d6a490
or contoso.onmicrosoft.com
.
client_id: Option<String>
ClientID is the application’s Client ID.
client_secret: Option<String>
created_at: Option<String>
The Project’s Revision Creation Date
id: Option<String>
issuer_url: Option<String>
IssuerURL is the OpenID Connect Server URL. You can leave this empty if provider
is not set to generic
. If set, neither auth_url
nor token_url
are required.
label: Option<String>
Label represents an optional label which can be used in the UI generation.
mapper_url: Option<String>
Mapper specifies the JSONNet code snippet which uses the OpenID Connect Provider’s data (e.g. GitHub or Google profile information) to hydrate the identity’s data. It can be either a URL (file://, http(s)://, base64://) or an inline JSONNet code snippet.
project_revision_id: Option<String>
provider: Option<String>
Provider is either "generic" for a generic OAuth 2.0 / OpenID Connect Provider or one of: generic google github gitlab microsoft discord slack facebook vk yandex apple
provider_id: Option<String>
ID is the provider’s ID
requested_claims: Option<Value>
scope: Option<Vec<String>>
token_url: Option<String>
TokenURL is the token url, typically something like: https://example.org/oauth2/token Should only be used when the OAuth2 / OpenID Connect server is not supporting OpenID Connect Discovery and when provider
is set to generic
.
updated_at: Option<String>
Last Time Project’s Revision was Updated
Implementations
Trait Implementations
sourceimpl Clone for NormalizedProjectRevisionThirdPartyProvider
impl Clone for NormalizedProjectRevisionThirdPartyProvider
sourcefn clone(&self) -> NormalizedProjectRevisionThirdPartyProvider
fn clone(&self) -> NormalizedProjectRevisionThirdPartyProvider
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'de> Deserialize<'de> for NormalizedProjectRevisionThirdPartyProvider
impl<'de> Deserialize<'de> for NormalizedProjectRevisionThirdPartyProvider
sourcefn 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
sourceimpl PartialEq<NormalizedProjectRevisionThirdPartyProvider> for NormalizedProjectRevisionThirdPartyProvider
impl PartialEq<NormalizedProjectRevisionThirdPartyProvider> for NormalizedProjectRevisionThirdPartyProvider
sourcefn eq(&self, other: &NormalizedProjectRevisionThirdPartyProvider) -> bool
fn eq(&self, other: &NormalizedProjectRevisionThirdPartyProvider) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NormalizedProjectRevisionThirdPartyProvider) -> bool
fn ne(&self, other: &NormalizedProjectRevisionThirdPartyProvider) -> bool
This method tests for !=
.
impl StructuralPartialEq for NormalizedProjectRevisionThirdPartyProvider
Auto Trait Implementations
impl RefUnwindSafe for NormalizedProjectRevisionThirdPartyProvider
impl Send for NormalizedProjectRevisionThirdPartyProvider
impl Sync for NormalizedProjectRevisionThirdPartyProvider
impl Unpin for NormalizedProjectRevisionThirdPartyProvider
impl UnwindSafe for NormalizedProjectRevisionThirdPartyProvider
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more