WebAuthenticationType Enum
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.
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. |