Class Oauth2ProxyHeader
Oauth2Proxy header model.
Namespace: Neon.Kube.Oauth2Proxy
Assembly: Neon.Kube.dll
Syntax
public class Oauth2ProxyHeader
Constructors
Oauth2ProxyHeader()
Constructor.
Declaration
public Oauth2ProxyHeader()
Properties
Name
The header name to be used for this set of values. Names should be unique within a list of Headers.
Declaration
[JsonProperty(PropertyName = "Name", Required = Required.Always)]
[YamlMember(Alias = "name", ApplyNamingConventions = false)]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
PreserveRequestValue
Determines whether any values for this header should be preserved for the request to the upstream server. This option only applies to injected request headers. Defaults to false (headers that match this header will be stripped).
Declaration
[JsonProperty(PropertyName = "PreserveRequestValue", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.Ignore)]
[YamlMember(Alias = "preserveRequestValue", ApplyNamingConventions = false)]
public bool PreserveRequestValue { get; set; }
Property Value
Type | Description |
---|---|
bool |
Values
Contains the desired values for this header
Declaration
[JsonProperty(PropertyName = "Values", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.Ignore)]
[YamlMember(Alias = "values", ApplyNamingConventions = false)]
public List<Oauth2ProxyHeaderValue> Values { get; set; }
Property Value
Type | Description |
---|---|
List<Oauth2ProxyHeaderValue> |