Skip to main content

Definition

Assembly: Microsoft.OData.Mcp.Core.dll Namespace: Microsoft.OData.Mcp.Core.Configuration Inheritance: System.Enum

Syntax

Microsoft.OData.Mcp.Core.Configuration.ODataAuthenticationType

Summary

Defines the authentication types for OData services.

Values

NameValueDescription
None0No authentication required.
ApiKey1API key authentication using a custom header.
Bearer2Bearer token authentication using the Authorization header.
Basic3Basic authentication using username and password.
OAuth24OAuth2 client credentials flow.