Table of Contents

Class AuthDomain

Namespace
Soup.Internal
Assembly
Soup-3.0.dll
public class AuthDomain
Inheritance
AuthDomain
Inherited Members

Methods

Accepts(IntPtr, IntPtr)

Calls native method soup_auth_domain_accepts.

public static extern NullableUtf8StringOwnedHandle Accepts(IntPtr domain, IntPtr msg)

Parameters

domain IntPtr

Transfer ownership: None Nullable: False

msg IntPtr

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: True

AddPath(IntPtr, NonNullableUtf8StringHandle)

Calls native method soup_auth_domain_add_path.

public static extern void AddPath(IntPtr domain, NonNullableUtf8StringHandle path)

Parameters

domain IntPtr

Transfer ownership: None Nullable: False

path NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Challenge(IntPtr, IntPtr)

Calls native method soup_auth_domain_challenge.

public static extern void Challenge(IntPtr domain, IntPtr msg)

Parameters

domain IntPtr

Transfer ownership: None Nullable: False

msg IntPtr

Transfer ownership: None Nullable: False

CheckPassword(IntPtr, IntPtr, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)

Calls native method soup_auth_domain_check_password.

public static extern bool CheckPassword(IntPtr domain, IntPtr msg, NonNullableUtf8StringHandle username, NonNullableUtf8StringHandle password)

Parameters

domain IntPtr

Transfer ownership: None Nullable: False

msg IntPtr

Transfer ownership: None Nullable: False

username NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

password NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

Covers(IntPtr, IntPtr)

Calls native method soup_auth_domain_covers.

public static extern bool Covers(IntPtr domain, IntPtr msg)

Parameters

domain IntPtr

Transfer ownership: None Nullable: False

msg IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetGType()

Calls native function soup_auth_domain_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetRealm(IntPtr)

Calls native method soup_auth_domain_get_realm.

public static extern NonNullableUtf8StringUnownedHandle GetRealm(IntPtr domain)

Parameters

domain IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

RemovePath(IntPtr, NonNullableUtf8StringHandle)

Calls native method soup_auth_domain_remove_path.

public static extern void RemovePath(IntPtr domain, NonNullableUtf8StringHandle path)

Parameters

domain IntPtr

Transfer ownership: None Nullable: False

path NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

SetFilter(IntPtr, AuthDomainFilter, IntPtr, DestroyNotify)

Calls native method soup_auth_domain_set_filter.

public static extern void SetFilter(IntPtr domain, AuthDomainFilter filter, IntPtr filterData, DestroyNotify dnotify)

Parameters

domain IntPtr

Transfer ownership: None Nullable: False

filter AuthDomainFilter

Transfer ownership: None Nullable: False

filterData IntPtr

Transfer ownership: None Nullable: True

dnotify DestroyNotify

Transfer ownership: None Nullable: False

SetGenericAuthCallback(IntPtr, AuthDomainGenericAuthCallback, IntPtr, DestroyNotify)

Calls native method soup_auth_domain_set_generic_auth_callback.

public static extern void SetGenericAuthCallback(IntPtr domain, AuthDomainGenericAuthCallback authCallback, IntPtr authData, DestroyNotify dnotify)

Parameters

domain IntPtr

Transfer ownership: None Nullable: False

authCallback AuthDomainGenericAuthCallback

Transfer ownership: None Nullable: False

authData IntPtr

Transfer ownership: None Nullable: True

dnotify DestroyNotify

Transfer ownership: None Nullable: False