AuthDomainDigest

class AuthDomainDigest(pointer: <Error class: unknown class><<Error class: unknown class>>) : AuthDomain

Server-side "Digest" authentication.

#SoupAuthDomainDigest handles the server side of HTTP "Digest" authentication.

Skipped during bindings generation

  • method auth-callback: Property has no getter

  • method auth-data: Property has no getter nor setter

  • constructor new: Varargs parameter is not supported

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val realm: String

The realm of this auth domain.

Link copied to clipboard
val soupAuthDomainDigestPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
val soupAuthDomainPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open fun accepts(msg: ServerMessage): String?

Checks if @msg contains appropriate authorization for @domain to accept it.

Link copied to clipboard
open fun addPath(path: String)

Adds @path to @domain.

Link copied to clipboard
open fun challenge(msg: ServerMessage)

Adds a "WWW-Authenticate" or "Proxy-Authenticate" header to @msg.

Link copied to clipboard
open fun checkPassword(msg: ServerMessage, username: String, password: String): Boolean

Checks if @msg authenticates to @domain via @username and

Link copied to clipboard
open fun covers(msg: ServerMessage): Boolean

Checks if @domain requires @msg to be authenticated (according to its paths and filter function).

Link copied to clipboard
open fun removePath(path: String)

Removes @path from @domain.

Link copied to clipboard

Sets the callback that @domain will use to authenticate incoming requests.

Link copied to clipboard
open fun setFilter(filter: AuthDomainFilter)

Adds @filter as an authentication filter to @domain.

Link copied to clipboard

Sets @auth_callback as an authentication-handling callback for @domain.