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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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 !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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