Struct ory_client::models::project_oidc_config::ProjectOidcConfig [−][src]
pub struct ProjectOidcConfig {Show 13 fields
pub auth_url: Option<String>,
pub client_id: Option<String>,
pub client_secret: Option<String>,
pub id: Option<String>,
pub issuer_url: Option<String>,
pub label: Option<String>,
pub mapper_url: Option<String>,
pub provider: Option<String>,
pub requested_claims: Option<Value>,
pub scope: Option<Vec<String>>,
pub string: Option<String>,
pub tenant: Option<String>,
pub token_url: Option<String>,
}
Fields
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
.
client_id: Option<String>
ClientID is the application’s Client ID.
client_secret: Option<String>
ClientSecret is the application’s secret.
id: Option<String>
ID is the provider’s ID
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.
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
requested_claims: Option<Value>
RequestedClaims string encoded json object that specifies claims and optionally their properties which should be included in the id_token or returned from the UserInfo Endpoint. More information: https://openid.net/specs/openid-connect-core-1_0.html#ClaimsParameter
scope: Option<Vec<String>>
Scope specifies optional requested permissions.
string: Option<String>
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
.
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
.
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ProjectOidcConfig
impl Send for ProjectOidcConfig
impl Sync for ProjectOidcConfig
impl Unpin for ProjectOidcConfig
impl UnwindSafe for ProjectOidcConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more