BasicCredentialHandler

Constructors

Link copied to clipboard
constructor(username: String, password: String)

Properties

Link copied to clipboard
external var password: String
Link copied to clipboard
external var username: String

Functions

Link copied to clipboard
abstract external fun canHandleAuthentication(response: HttpClientResponse): Boolean
Link copied to clipboard
abstract external fun handleAuthentication(httpClient: HttpClient, requestInfo: RequestInfo, data: Any?): Promise<HttpClientResponse>
Link copied to clipboard
open external override fun prepareRequest(options: RequestOptions)