SearchAadAuthFailureMode 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.
Describes what response the data plane API of a search service would send for requests that failed authentication.
public enum SearchAadAuthFailureMode
type SearchAadAuthFailureMode =
Public Enum SearchAadAuthFailureMode
- Inheritance
-
SearchAadAuthFailureMode
Fields
Name | Value | Description |
---|---|---|
Http403 | 0 | Indicates that requests that failed authentication should be presented with an HTTP status code of 403 (Forbidden). |
Http401WithBearerChallenge | 1 | Indicates that requests that failed authentication should be presented with an HTTP status code of 401 (Unauthorized) and present a Bearer Challenge. |
Applies to
Azure SDK for .NET