Class Auth
public class Auth
- Inheritance
-
Auth
- Inherited Members
Methods
Authenticate(IntPtr, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native method soup_auth_authenticate.
public static extern void Authenticate(IntPtr auth, NonNullableUtf8StringHandle username, NonNullableUtf8StringHandle password)
Parameters
auth
IntPtrTransfer ownership: None Nullable: False
username
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
password
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
CanAuthenticate(IntPtr)
Calls native method soup_auth_can_authenticate.
public static extern bool CanAuthenticate(IntPtr auth)
Parameters
auth
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
Cancel(IntPtr)
Calls native method soup_auth_cancel.
public static extern void Cancel(IntPtr auth)
Parameters
auth
IntPtrTransfer ownership: None Nullable: False
FreeProtectionSpace(IntPtr, SListHandle)
Calls native method soup_auth_free_protection_space.
public static extern void FreeProtectionSpace(IntPtr auth, SListHandle space)
Parameters
auth
IntPtrTransfer ownership: None Nullable: False
space
SListHandleTransfer ownership: None Nullable: False
GetAuthority(IntPtr)
Calls native method soup_auth_get_authority.
public static extern NonNullableUtf8StringUnownedHandle GetAuthority(IntPtr auth)
Parameters
auth
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
GetAuthorization(IntPtr, IntPtr)
Calls native method soup_auth_get_authorization.
public static extern NonNullableUtf8StringOwnedHandle GetAuthorization(IntPtr auth, IntPtr msg)
Parameters
auth
IntPtrTransfer ownership: None Nullable: False
msg
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
GetGType()
Calls native function soup_auth_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetInfo(IntPtr)
Calls native method soup_auth_get_info.
public static extern NonNullableUtf8StringOwnedHandle GetInfo(IntPtr auth)
Parameters
auth
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
GetProtectionSpace(IntPtr, UriHandle)
Calls native method soup_auth_get_protection_space.
public static extern SListOwnedHandle GetProtectionSpace(IntPtr auth, UriHandle sourceUri)
Parameters
auth
IntPtrTransfer ownership: None Nullable: False
sourceUri
UriHandleTransfer ownership: None Nullable: False
Returns
- SListOwnedHandle
Transfer ownership: Full Nullable: False
GetRealm(IntPtr)
Calls native method soup_auth_get_realm.
public static extern NonNullableUtf8StringUnownedHandle GetRealm(IntPtr auth)
Parameters
auth
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
GetSchemeName(IntPtr)
Calls native method soup_auth_get_scheme_name.
public static extern NonNullableUtf8StringUnownedHandle GetSchemeName(IntPtr auth)
Parameters
auth
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
IsAuthenticated(IntPtr)
Calls native method soup_auth_is_authenticated.
public static extern bool IsAuthenticated(IntPtr auth)
Parameters
auth
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
IsCancelled(IntPtr)
Calls native method soup_auth_is_cancelled.
public static extern bool IsCancelled(IntPtr auth)
Parameters
auth
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
IsForProxy(IntPtr)
Calls native method soup_auth_is_for_proxy.
public static extern bool IsForProxy(IntPtr auth)
Parameters
auth
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
IsReady(IntPtr, IntPtr)
Calls native method soup_auth_is_ready.
public static extern bool IsReady(IntPtr auth, IntPtr msg)
Parameters
auth
IntPtrTransfer ownership: None Nullable: False
msg
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
New(Type, IntPtr, NonNullableUtf8StringHandle)
Calls native constructor soup_auth_new.
public static extern IntPtr New(Type type, IntPtr msg, NonNullableUtf8StringHandle authHeader)
Parameters
type
TypeTransfer ownership: None Nullable: False
msg
IntPtrTransfer ownership: None Nullable: False
authHeader
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: True
Update(IntPtr, IntPtr, NonNullableUtf8StringHandle)
Calls native method soup_auth_update.
public static extern bool Update(IntPtr auth, IntPtr msg, NonNullableUtf8StringHandle authHeader)
Parameters
auth
IntPtrTransfer ownership: None Nullable: False
msg
IntPtrTransfer ownership: None Nullable: False
authHeader
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False