AuthNtlm

class AuthNtlm(val soupAuthNtlmPointer: <Error class: unknown class><<Error class: unknown class>>) : Auth

HTTP-based NTLM authentication.

class@Sessions do not support this type by default; if you want to enable support for it, call method@Session.add_feature_by_type, passing %SOUP_TYPE_AUTH_NTLM.

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val authority: String

The authority (host:port) being authenticated to.

Link copied to clipboard
open val realm: String

The authentication realm.

Link copied to clipboard
open val schemeName: String

The authentication scheme name.

Link copied to clipboard
val soupAuthNtlmPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
val soupAuthPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open fun authenticate(username: String, password: String)

Call this on an auth to authenticate it.

Link copied to clipboard

Tests if @auth is able to authenticate by providing credentials to the method@Auth.authenticate.

Link copied to clipboard
open fun cancel()

Call this on an auth to cancel it.

Link copied to clipboard
open fun freeProtectionSpace(space: <Error class: unknown class>)

Frees @space.

Link copied to clipboard

Generates an appropriate "Authorization" header for @msg.

Link copied to clipboard
open fun getInfo(): String

Gets an opaque identifier for @auth.

Link copied to clipboard
open fun getProtectionSpace(sourceUri: <Error class: unknown class>): <Error class: unknown class>

Returns a list of paths on the server which @auth extends over.

Link copied to clipboard

Tests if @auth has been given a username and password.

Link copied to clipboard
open fun isCancelled(): Boolean

Tests if @auth has been cancelled

Link copied to clipboard
open fun isForProxy(): Boolean

Tests whether or not @auth is associated with a proxy server rather than an "origin" server.

Link copied to clipboard
open fun isReady(msg: Message): Boolean

Tests if @auth is ready to make a request for @msg with.

Link copied to clipboard
open fun update(msg: Message, authHeader: String): Boolean

Updates @auth with the information from @msg and @auth_header, possibly un-authenticating it.