Class DexOauth2Config
Dex Oauth2 configuration model.
Namespace: Neon.Kube.Resources.Dex
Assembly: Neon.Kube.Resources.dll
Syntax
public class DexOauth2Config
Constructors
DexOauth2Config()
Constructor.
Declaration
public DexOauth2Config()
Properties
AlwaysShowLoginScreen
If only one authentication method is enabled, the default behavior is to go directly to it. For connected IdPs, this redirects the browser away from application to upstream provider such as the Google login page
Declaration
[JsonProperty(PropertyName = "AlwaysShowLoginScreen", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
[YamlMember(Alias = "alwaysShowLoginScreen", ApplyNamingConventions = false)]
public bool? AlwaysShowLoginScreen { get; set; }
Property Value
Type | Description |
---|---|
bool? |
PasswordConnector
Optionally use a specific connector for password grants.
Declaration
[JsonProperty(PropertyName = "PasswordConnector", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
[YamlMember(Alias = "passwordConnector", ApplyNamingConventions = false)]
public string PasswordConnector { get; set; }
Property Value
Type | Description |
---|---|
string |
ResponseTypes
use ["code", "token", "id_token"] to enable implicit flow for web-only clients.
Declaration
[JsonProperty(PropertyName = "ResponseTypes", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
[YamlMember(Alias = "responseTypes", ApplyNamingConventions = false)]
[JsonConverter(typeof(JsonCollectionItemConverter<Oauth2ResponseType, JsonStringEnumMemberConverter>))]
public IEnumerable<Oauth2ResponseType> ResponseTypes { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<Oauth2ResponseType> |
SkipApprovalScreen
By default, Dex will ask for approval to share data with application (approval for sharing data from connected IdP to Dex is separate process on IdP)
Declaration
[JsonProperty(PropertyName = "SkipApprovalScreen", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
[YamlMember(Alias = "skipApprovalScreen", ApplyNamingConventions = false)]
public bool? SkipApprovalScreen { get; set; }
Property Value
Type | Description |
---|---|
bool? |