Aracılığıyla paylaş


BasicAuthenticationCredentials class

Oluşturucular

BasicAuthenticationCredentials(string, string, string)

Yeni bir BasicAuthenticationCredentials nesnesi oluşturur.

Özellikler

authorizationScheme
password
userName

Yöntemler

signRequest(WebResourceLike)

Kimlik Doğrulaması üst bilgisi ile bir isteği imzalar.

Oluşturucu Ayrıntıları

BasicAuthenticationCredentials(string, string, string)

Yeni bir BasicAuthenticationCredentials nesnesi oluşturur.

new BasicAuthenticationCredentials(userName: string, password: string, authorizationScheme?: string)

Parametreler

userName

string

Kullanıcı adı.

password

string

Parola.

authorizationScheme

string

Yetkilendirme düzeni.

Özellik Ayrıntıları

authorizationScheme

authorizationScheme: string

Özellik Değeri

string

password

password: string

Özellik Değeri

string

userName

userName: string

Özellik Değeri

string

Yöntem Ayrıntıları

signRequest(WebResourceLike)

Kimlik Doğrulaması üst bilgisi ile bir isteği imzalar.

function signRequest(webResource: WebResourceLike): Promise<WebResourceLike>

Parametreler

webResource
WebResourceLike

İmzalanacak WebResourceLike.

Döndürülenler

Promise<WebResourceLike>

İmzalı istek nesnesi.