Table of Contents

Class Auth

Namespace
Soup
Assembly
Soup-3.0.dll
public class Auth : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
Inheritance
Auth
Implements
Derived
Inherited Members

Constructors

Auth(bool, params ConstructArgument[])

protected Auth(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

Auth(IntPtr, bool)

protected Auth(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

AuthorityPropertyDefinition

public static readonly Property<string?, Auth> AuthorityPropertyDefinition

Field Value

Property<string, Auth>

IsAuthenticatedPropertyDefinition

public static readonly Property<bool, Auth> IsAuthenticatedPropertyDefinition

Field Value

Property<bool, Auth>

IsCancelledPropertyDefinition

public static readonly Property<bool, Auth> IsCancelledPropertyDefinition

Field Value

Property<bool, Auth>

IsForProxyPropertyDefinition

public static readonly Property<bool, Auth> IsForProxyPropertyDefinition

Field Value

Property<bool, Auth>

RealmPropertyDefinition

public static readonly Property<string?, Auth> RealmPropertyDefinition

Field Value

Property<string, Auth>

SchemeNamePropertyDefinition

public static readonly Property<string?, Auth> SchemeNamePropertyDefinition

Field Value

Property<string, Auth>

Properties

Authority

public string? Authority { get; set; }

Property Value

string

IsAuthenticated

public bool IsAuthenticated { get; }

Property Value

bool

IsCancelled

public bool IsCancelled { get; }

Property Value

bool

IsForProxy

public bool IsForProxy { get; set; }

Property Value

bool

Realm

public string? Realm { get; set; }

Property Value

string

SchemeName

public string? SchemeName { get; }

Property Value

string

Methods

Authenticate(string, string)

public void Authenticate(string username, string password)

Parameters

username string
password string

CanAuthenticate()

public bool CanAuthenticate()

Returns

bool

Cancel()

public void Cancel()

FreeProtectionSpace(SList)

public void FreeProtectionSpace(SList space)

Parameters

space SList

GetAuthority()

public string GetAuthority()

Returns

string

GetAuthorization(Message)

public string GetAuthorization(Message msg)

Parameters

msg Message

Returns

string

GetGType()

public static Type GetGType()

Returns

Type

GetInfo()

public string GetInfo()

Returns

string

GetIsAuthenticated()

public bool GetIsAuthenticated()

Returns

bool

GetIsCancelled()

public bool GetIsCancelled()

Returns

bool

GetIsForProxy()

public bool GetIsForProxy()

Returns

bool

GetProtectionSpace(Uri)

public SList GetProtectionSpace(Uri sourceUri)

Parameters

sourceUri Uri

Returns

SList

GetRealm()

public string GetRealm()

Returns

string

GetSchemeName()

public string GetSchemeName()

Returns

string

IsReady(Message)

public bool IsReady(Message msg)

Parameters

msg Message

Returns

bool

New(Type, Message, string)

public static Auth? New(Type type, Message msg, string authHeader)

Parameters

type Type
msg Message
authHeader string

Returns

Auth

Update(Message, string)

public bool Update(Message msg, string authHeader)

Parameters

msg Message
authHeader string

Returns

bool