次の方法で共有


WebRequestPSCmdlet.Authentication Property

Definition

Gets or sets the Authentication property used to determine the Authentication method for the web session. Authentication does not work with UseDefaultCredentials. Authentication over unencrypted sessions requires AllowUnencryptedAuthentication. Basic: Requires Credential. OAuth/Bearer: Requires Token.

[System.Management.Automation.Parameter]
public virtual Microsoft.PowerShell.Commands.WebAuthenticationType Authentication { get; set; }
[<System.Management.Automation.Parameter>]
member this.Authentication : Microsoft.PowerShell.Commands.WebAuthenticationType with get, set
Public Overridable Property Authentication As WebAuthenticationType

Property Value

Attributes

Applies to