Class ConnectionOptionsOAuth2
- Namespace
- Auth0.ManagementApi
- Assembly
- Auth0.ManagementApi.dll
Options for the 'oauth2' connection
[Serializable]
public record ConnectionOptionsOAuth2 : IJsonOnDeserialized, IJsonOnSerializing, IEquatable<ConnectionOptionsOAuth2>
- Inheritance
-
ConnectionOptionsOAuth2
- Implements
- Inherited Members
- Extension Methods
Properties
AdditionalProperties
[JsonIgnore]
public AdditionalProperties AdditionalProperties { get; set; }
Property Value
AuthParams
[JsonPropertyName("authParams")]
public Dictionary<string, string>? AuthParams { get; set; }
Property Value
AuthParamsMap
[JsonPropertyName("authParamsMap")]
public Dictionary<string, string>? AuthParamsMap { get; set; }
Property Value
AuthorizationUrl
[JsonPropertyName("authorizationURL")]
public string? AuthorizationUrl { get; set; }
Property Value
ClientId
[JsonPropertyName("client_id")]
public string? ClientId { get; set; }
Property Value
ClientSecret
[JsonPropertyName("client_secret")]
public string? ClientSecret { get; set; }
Property Value
CustomHeaders
[JsonPropertyName("customHeaders")]
public Dictionary<string, string>? CustomHeaders { get; set; }
Property Value
FieldsMap
[JsonPropertyName("fieldsMap")]
public Dictionary<string, string>? FieldsMap { get; set; }
Property Value
IconUrl
[JsonPropertyName("icon_url")]
public string? IconUrl { get; set; }
Property Value
LogoutUrl
[JsonPropertyName("logoutUrl")]
public string? LogoutUrl { get; set; }
Property Value
NonPersistentAttrs
[JsonPropertyName("non_persistent_attrs")]
public IEnumerable<string>? NonPersistentAttrs { get; set; }
Property Value
PkceEnabled
When true, enables Proof Key for Code Exchange (PKCE) for the authorization code flow. PKCE provides additional security by preventing authorization code interception attacks.
[JsonPropertyName("pkce_enabled")]
public bool? PkceEnabled { get; set; }
Property Value
- bool?
Scope
[JsonPropertyName("scope")]
public ConnectionScopeOAuth2? Scope { get; set; }
Property Value
Scripts
[JsonPropertyName("scripts")]
public ConnectionScriptsOAuth2? Scripts { get; set; }
Property Value
SetUserRootAttributes
[JsonPropertyName("set_user_root_attributes")]
public ConnectionSetUserRootAttributesEnum? SetUserRootAttributes { get; set; }
Property Value
TokenUrl
[JsonPropertyName("tokenURL")]
public string? TokenUrl { get; set; }
Property Value
UpstreamParams
[JsonPropertyName("upstream_params")]
public Optional<Dictionary<string, ConnectionUpstreamAdditionalProperties?>?> UpstreamParams { get; set; }
Property Value
UseOauthSpecScope
When true, uses space-delimited scopes (per OAuth 2.0 spec) instead of comma-delimited when calling the identity provider's authorization endpoint. Only relevant when using the connection_scope parameter. See https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint
[JsonPropertyName("useOauthSpecScope")]
public bool? UseOauthSpecScope { get; set; }
Property Value
- bool?
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.