Class AuthDomain
- Namespace
- Soup
- Assembly
- Soup-3.0.dll
public class AuthDomain : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
AuthDomain
- Implements
- Derived
- Inherited Members
Constructors
AuthDomain(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public AuthDomain(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
AuthDomain(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected AuthDomain(CreationData data)
Parameters
dataCreationData
AuthDomain(AuthDomainHandle)
protected AuthDomain(AuthDomainHandle handle)
Parameters
handleAuthDomainHandle
Fields
FilterDataPropertyDefinition
public static readonly Property<nint, AuthDomain> FilterDataPropertyDefinition
Field Value
GenericAuthDataPropertyDefinition
public static readonly Property<nint, AuthDomain> GenericAuthDataPropertyDefinition
Field Value
ProxyPropertyDefinition
public static readonly Property<bool, AuthDomain> ProxyPropertyDefinition
Field Value
RealmPropertyDefinition
public static readonly Property<string?, AuthDomain> RealmPropertyDefinition
Field Value
Properties
FilterData
public nint FilterData { get; set; }
Property Value
GenericAuthData
public nint GenericAuthData { get; set; }
Property Value
Proxy
public bool Proxy { get; }
Property Value
Realm
public string? Realm { get; }
Property Value
Methods
Accepts(ServerMessage)
public string? Accepts(ServerMessage msg)
Parameters
msgServerMessage
Returns
AddPath(string)
public void AddPath(string path)
Parameters
pathstring
Challenge(ServerMessage)
public void Challenge(ServerMessage msg)
Parameters
msgServerMessage
CheckPassword(ServerMessage, string, string)
public bool CheckPassword(ServerMessage msg, string username, string password)
Parameters
msgServerMessageusernamestringpasswordstring
Returns
Covers(ServerMessage)
public bool Covers(ServerMessage msg)
Parameters
msgServerMessage
Returns
GetGType()
public static Type GetGType()
Returns
GetRealm()
public string GetRealm()
Returns
NewFromPointer(nint, bool)
Creates a new managed AuthDomain instance for a given pointer.
public static AuthDomain NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new AuthDomain and sets the properties specified by the construct arguments.
public static AuthDomain NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
RemovePath(string)
public void RemovePath(string path)
Parameters
pathstring
SetFilter(AuthDomainFilter)
public void SetFilter(AuthDomainFilter filter)
Parameters
filterAuthDomainFilter
SetGenericAuthCallback(AuthDomainGenericAuthCallback)
public void SetGenericAuthCallback(AuthDomainGenericAuthCallback authCallback)
Parameters
authCallbackAuthDomainGenericAuthCallback