Definition
Assembly: Mintlify.Core.dll Namespace: Mintlify.Core.Models Inheritance: System.ObjectSyntax
Summary
Represents the authentication configuration for MDX-based API documentation.Remarks
Specifies how API requests should be authenticated when using the interactive playground in MDX-generated API documentation pages.Constructors
.ctor
Syntax
.ctor Inherited
Inherited from
objectSyntax
Properties
Method
Gets or sets the authentication method.Syntax
Property Value
Type:string?
Examples
Remarks
Valid values are: “bearer”, “basic”, “key”, “cobo”.- bearer: Bearer token authentication (Authorization: Bearer TOKEN)
- basic: Basic authentication (Authorization: Basic BASE64)
- key: API key authentication (custom header)
- cobo: Cobo-specific authentication
Name
Gets or sets the name of the authentication header or parameter.Syntax
Property Value
Type:string?
Examples
Remarks
For “key” authentication method, this specifies the header name (e.g., “x-api-key”). For other methods, this may specify additional configuration parameters.Methods
Equals Inherited Virtual
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
obj | object? | - |
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?