OpenApiAuthType Struct
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.
Authentication type for OpenApi endpoint. Allowed types are:
- Anonymous (no authentication required)
- Project Connection (requires project_connection_id to endpoint, as setup in AI Foundry)
- Managed_Identity (requires audience for identity based auth)
public readonly struct OpenApiAuthType : IEquatable<Azure.AI.AgentServer.Contracts.Generated.OpenAI.OpenApiAuthType>
type OpenApiAuthType = struct
Public Structure OpenApiAuthType
Implements IEquatable(Of OpenApiAuthType)
- Inheritance
-
OpenApiAuthType
- Implements
Constructors
| Name | Description |
|---|---|
| OpenApiAuthType(String) |
Initializes a new instance of OpenApiAuthType. |
Properties
| Name | Description |
|---|---|
| Anonymous |
anonymous. |
| ManagedIdentity |
managed_identity. |
| ProjectConnection |
project_connection. |
Methods
| Name | Description |
|---|---|
| Equals(OpenApiAuthType) |
Indicates whether the current object is equal to another object of the same type. |
| ToString() |
Returns the fully qualified type name of this instance. |
Operators
| Name | Description |
|---|---|
| Equality(OpenApiAuthType, OpenApiAuthType) |
Determines if two OpenApiAuthType values are the same. |
| Implicit(String to OpenApiAuthType) |
Converts a String to a OpenApiAuthType. |
| Inequality(OpenApiAuthType, OpenApiAuthType) |
Determines if two OpenApiAuthType values are not the same. |