REST API Metadata
- Namespace
- Songhay
.Models - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["RestApiMetadata"]
class Type type-node
Syntax
public class RestApiMetadata
Fields
Name | Field Type | Constant Value | Summary |
---|---|---|---|
Claims |
string | headerAuthorization |
A convential name representing an API key
to sent in the HTTP headers for authentication.
static
|
Claims |
string | headerContentType |
A convential name representing an API key
to sent in the HTTP headers for authentication.
static
|
Claims |
string | headerKey |
A convential name representing an API key
to sent in the HTTP headers for authentication.
static
|
Properties
Name | Property Type | Summary |
---|---|---|
ApiBase | Uri? |
Gets or sets the API base.
|
ApiKey | string |
Gets or sets the API key.
|
ClaimsSet | Dictionary |
Gets or sets the claims set.
|
UriTemplates | Dictionary |
Gets or sets the URI templates.
|
Methods
Name | Return Value | Summary |
---|---|---|
ToString |
string |
Converts this instance into a
string representation.
|
Extension Methods
Name | Value | Summary |
---|---|---|
Is |
bool |
Determines whether the specified type
can be assigned to
System.Runtime.Serialization.ISerializable .
From NullableExtensions
|
To |
Dictionary |
Converts the specified
RestApiMetadata
to the data required by Songhay.AzureKeyVaultRestApiUtility.GetAccessTokenAsync(System.Nullable{Uri},System.Nullable{Dictionary{System.String,System.String}}) .
|
To |
Uri |
Converts the specified
RestApiMetadata
to the Uri required by Songhay.AzureKeyVaultRestApiUtility.GetAccessTokenAsync(System.Nullable{Uri},System.Nullable{Dictionary{System.String,System.String}}) .
|
To |
Uri |
Converts the specified
RestApiMetadata
to the Uri required by Songhay.AzureKeyVaultRestApiUtility.GetSecretAsync(System.String,Uri) .
|
ToObjectOrDbNull |
object |
Boxes the nullable in
object
or returns DBNull .
From NullableExtensions
|
To |
T |
Returns the non-null value of the specified, nullable reference type
or throws an
ArgumentNullException
when the value is null.
From NullableExtensions
|
ToUri |
Uri? |
Converts the specified
RestApiMetadata to a Uri
based on the specified URI Template.
|