Udostępnij za pośrednictwem


ApiKeyServiceClientCredentials Class

Definition

Allows authentication to the API using a basic apiKey mechanism

public class ApiKeyServiceClientCredentials : Microsoft.Rest.ServiceClientCredentials
type ApiKeyServiceClientCredentials = class
    inherit ServiceClientCredentials
Public Class ApiKeyServiceClientCredentials
Inherits ServiceClientCredentials
Inheritance
ApiKeyServiceClientCredentials

Constructors

ApiKeyServiceClientCredentials(String)

Creates a new instance of the ApiKeyServiceClientCredentails class

Methods

InitializeServiceClient<T>(ServiceClient<T>) (Inherited from ServiceClientCredentials)
ProcessHttpRequestAsync(HttpRequestMessage, CancellationToken)

Add the Basic Authentication Header to each outgoing request

Applies to