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

Basic 1

RFC-7617 Basic Authentication. Requires -Credential.

Bearer 2

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

None 0

No authentication. Default.

OAuth 3

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

Applies to