Condividi tramite


HttpSettings Class

Definition

The configuration settings of the HTTP requests for authentication and authorization requests made against ContainerApp Service Authentication/Authorization.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.HttpSettingsTypeConverter))]
public class HttpSettings : Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettings
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.HttpSettingsTypeConverter))>]
type HttpSettings = class
    interface IHttpSettings
    interface IJsonSerializable
Public Class HttpSettings
Implements IHttpSettings
Inheritance
HttpSettings
Attributes
Implements

Constructors

HttpSettings()

Creates an new HttpSettings instance.

Properties

ForwardProxyConvention

The convention used to determine the url of the request made.

ForwardProxyCustomHostHeaderName

The name of the header containing the host of the request.

ForwardProxyCustomProtoHeaderName

The name of the header containing the scheme of the request.

RequireHttps

false if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, true.

RouteApiPrefix

The prefix that should precede all the authentication/authorization paths.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of HttpSettings.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of HttpSettings.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettings.

FromJsonString(String)

Creates a new instance of HttpSettings, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of HttpSettings into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to