DigestAuthProvider

class DigestAuthProvider : AuthProvider

Client digest AuthProvider.

Constructors

<init>

DigestAuthProvider(
    username: String,
    password: String,
    realm: String?,
    algorithmName: String = "MD5")

Client digest AuthProvider.

Properties

algorithmName

val algorithmName: String

password

val password: String

realm

val realm: String?

username

val username: String

Functions

addRequestHeaders

suspend fun addRequestHeaders(
    request: HttpRequestBuilder
): Unit

Add authentication method headers and creds.

isApplicable

fun isApplicable(auth: HttpAuthHeader): Boolean

Check if current provider is applicable to the request.