Table of Contents

Class AuthenticationRequest

Namespace
WebKit
Assembly
WebKit-6.0.dll
public sealed class AuthenticationRequest : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
AuthenticationRequest
Implements
Inherited Members

Constructors

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

Parameters

constructArguments ConstructArgument[]

AuthenticationRequest(CreationData)

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

Parameters

data CreationData

AuthenticationRequest(AuthenticationRequestHandle)

protected AuthenticationRequest(AuthenticationRequestHandle handle)

Parameters

handle AuthenticationRequestHandle

Fields

AuthenticatedSignal

Signal Descriptor for OnAuthenticated.

public static readonly Signal<AuthenticationRequest, AuthenticationRequest.AuthenticatedSignalArgs> AuthenticatedSignal

Field Value

Signal<AuthenticationRequest, AuthenticationRequest.AuthenticatedSignalArgs>

CancelledSignal

Signal Descriptor for OnCancelled.

public static readonly Signal<AuthenticationRequest> CancelledSignal

Field Value

Signal<AuthenticationRequest>

Methods

Authenticate(Credential?)

[Version("2.2")]
public void Authenticate(Credential? credential)

Parameters

credential Credential

CanSaveCredentials()

[Version("2.2")]
public bool CanSaveCredentials()

Returns

bool

Cancel()

[Version("2.2")]
public void Cancel()

GetCertificatePinFlags()

[Version("2.34")]
public TlsPasswordFlags GetCertificatePinFlags()

Returns

TlsPasswordFlags

GetGType()

public static Type GetGType()

Returns

Type

GetHost()

[Version("2.2")]
public string GetHost()

Returns

string

GetPort()

[Version("2.2")]
public uint GetPort()

Returns

uint

GetProposedCredential()

[Version("2.2")]
public Credential GetProposedCredential()

Returns

Credential

GetRealm()

[Version("2.2")]
public string GetRealm()

Returns

string

GetScheme()

[Version("2.2")]
public AuthenticationScheme GetScheme()

Returns

AuthenticationScheme

GetSecurityOrigin()

[Version("2.30")]
public SecurityOrigin GetSecurityOrigin()

Returns

SecurityOrigin

IsForProxy()

[Version("2.2")]
public bool IsForProxy()

Returns

bool

IsRetry()

[Version("2.2")]
public bool IsRetry()

Returns

bool

NewFromPointer(nint, bool)

Creates a new managed AuthenticationRequest instance for a given pointer.

public static AuthenticationRequest NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

AuthenticationRequest

NewWithProperties(ConstructArgument[])

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

public static AuthenticationRequest NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

AuthenticationRequest

SetCanSaveCredentials(bool)

[Version("2.30")]
public void SetCanSaveCredentials(bool enabled)

Parameters

enabled bool

SetProposedCredential(Credential)

[Version("2.30")]
public void SetProposedCredential(Credential credential)

Parameters

credential Credential

Events

OnAuthenticated

public event SignalHandler<AuthenticationRequest, AuthenticationRequest.AuthenticatedSignalArgs> OnAuthenticated

Event Type

SignalHandler<AuthenticationRequest, AuthenticationRequest.AuthenticatedSignalArgs>

OnCancelled

public event SignalHandler<AuthenticationRequest> OnCancelled

Event Type

SignalHandler<AuthenticationRequest>