Condividi tramite


WebAuthenticationType Enum

Definition

The valid values for the -Authentication parameter for Invoke-RestMethod and Invoke-WebRequest.

public enum WebAuthenticationType
type WebAuthenticationType = 
Public Enum WebAuthenticationType
Inheritance
WebAuthenticationType

Fields

Name Value Description
None 0

No authentication. Default.

Basic 1

RFC-7617 Basic Authentication. Requires -Credential.

Bearer 2

RFC-6750 OAuth 2.0 Bearer Authentication. Requires -Token.

OAuth 3

RFC-6750 OAuth 2.0 Bearer Authentication. Requires -Token.

Applies to