Class RestApiMetadata
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
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
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
Remarks
Usually "headerKey": "X-ApiKey"
.
Properties
ApiBase
Gets or sets the API base.
public Uri? ApiBase { get; set; }
Property Value
ApiKey
Gets or sets the API key.
public string? ApiKey { get; set; }
Property Value
ClaimsSet
Gets or sets the claims set.
public Dictionary<string, string> ClaimsSet { get; set; }
Property Value
UriTemplates
Gets or sets the URI templates.
public Dictionary<string, string> UriTemplates { get; set; }
Property Value
Methods
ToString()
Converts this instance into a string representation.
public override string ToString()