Table of Contents

Class DBusAuthObserver

Namespace
Gio
Assembly
Gio-2.0.dll
public class DBusAuthObserver : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
DBusAuthObserver
Implements
Inherited Members

Constructors

DBusAuthObserver(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 DBusAuthObserver(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

DBusAuthObserver(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected DBusAuthObserver(CreationData data)

Parameters

data CreationData

DBusAuthObserver(DBusAuthObserverHandle)

protected DBusAuthObserver(DBusAuthObserverHandle handle)

Parameters

handle DBusAuthObserverHandle

Fields

AllowMechanismSignal

Signal Descriptor for OnAllowMechanism.

public static readonly ReturningSignal<DBusAuthObserver, DBusAuthObserver.AllowMechanismSignalArgs, bool> AllowMechanismSignal

Field Value

ReturningSignal<DBusAuthObserver, DBusAuthObserver.AllowMechanismSignalArgs, bool>

AuthorizeAuthenticatedPeerSignal

Signal Descriptor for OnAuthorizeAuthenticatedPeer.

public static readonly ReturningSignal<DBusAuthObserver, DBusAuthObserver.AuthorizeAuthenticatedPeerSignalArgs, bool> AuthorizeAuthenticatedPeerSignal

Field Value

ReturningSignal<DBusAuthObserver, DBusAuthObserver.AuthorizeAuthenticatedPeerSignalArgs, bool>

Methods

AllowMechanism(string)

[Version("2.34")]
public bool AllowMechanism(string mechanism)

Parameters

mechanism string

Returns

bool

AuthorizeAuthenticatedPeer(IOStream, Credentials?)

[Version("2.26")]
public bool AuthorizeAuthenticatedPeer(IOStream stream, Credentials? credentials)

Parameters

stream IOStream
credentials Credentials

Returns

bool

GetGType()

public static Type GetGType()

Returns

Type

New()

[Version("2.26")]
public static DBusAuthObserver New()

Returns

DBusAuthObserver

NewFromPointer(nint, bool)

Creates a new managed DBusAuthObserver instance for a given pointer.

public static DBusAuthObserver NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

DBusAuthObserver

NewWithProperties(ConstructArgument[])

Creates a new DBusAuthObserver and sets the properties specified by the construct arguments.

public static DBusAuthObserver NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

DBusAuthObserver

Events

OnAllowMechanism

public event ReturningSignalHandler<DBusAuthObserver, DBusAuthObserver.AllowMechanismSignalArgs, bool> OnAllowMechanism

Event Type

ReturningSignalHandler<DBusAuthObserver, DBusAuthObserver.AllowMechanismSignalArgs, bool>

OnAuthorizeAuthenticatedPeer

public event ReturningSignalHandler<DBusAuthObserver, DBusAuthObserver.AuthorizeAuthenticatedPeerSignalArgs, bool> OnAuthorizeAuthenticatedPeer

Event Type

ReturningSignalHandler<DBusAuthObserver, DBusAuthObserver.AuthorizeAuthenticatedPeerSignalArgs, bool>