WebRequestPSCmdlet.Authentication Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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