Table of Contents

Class RestApiMetadata

Namespace
Songhay.Models
Assembly
SonghayCore.dll

REST API Metadata

public class RestApiMetadata
Inheritance
RestApiMetadata
Inherited Members
Extension Methods

Fields

ClaimsSetHeaderApiAuthorization

A convential name representing an API key to sent in the HTTP headers for authentication.

public const string ClaimsSetHeaderApiAuthorization = "headerAuthorization"

Field Value

string

Remarks

Usually "headerAuthorization": "Authorization".

See https://docs.microsoft.com/en-us/rest/api/azure/#request-header

ClaimsSetHeaderApiContentType

A convential name representing an API key to sent in the HTTP headers for authentication.

public const string ClaimsSetHeaderApiContentType = "headerContentType"

Field Value

string

Remarks

Usually "headerContentType": "Content-Type".

See https://docs.microsoft.com/en-us/rest/api/azure/#request-header

ClaimsSetHeaderApiKey

A convential name representing an API key to sent in the HTTP headers for authentication.

public const string ClaimsSetHeaderApiKey = "headerKey"

Field Value

string

Remarks

Usually "headerKey": "X-ApiKey".

Properties

ApiBase

Gets or sets the API base.

public Uri? ApiBase { get; set; }

Property Value

Uri

ApiKey

Gets or sets the API key.

public string? ApiKey { get; set; }

Property Value

string

ClaimsSet

Gets or sets the claims set.

public Dictionary<string, string> ClaimsSet { get; set; }

Property Value

Dictionary<string, string>

UriTemplates

Gets or sets the URI templates.

public Dictionary<string, string> UriTemplates { get; set; }

Property Value

Dictionary<string, string>

Methods

ToString()

Converts this instance into a string representation.

public override string ToString()

Returns

string