Package org.gnome.webkit
Interface AuthenticationRequest.AuthenticatedCallback
- All Superinterfaces:
FunctionPointer
- Enclosing class:
AuthenticationRequest
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface AuthenticationRequest.AuthenticatedCallback
extends FunctionPointer
Functional interface declaration of the
AuthenticatedCallback
callback.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
run
(Credential credential) This signal is emitted when the user authentication request succeeded.default MemorySegment
toCallback
(Arena arena) Creates a native function pointer to theupcall(java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment)
method.default void
upcall
(MemorySegment sourceAuthenticationRequest, MemorySegment credential) Theupcall
method is called from native code.
-
Method Details
-
run
This signal is emitted when the user authentication request succeeded. Applications handling their own credential storage should connect to this signal to save the credentials. -
upcall
Theupcall
method is called from native code. The parameters are marshaled andrun(org.gnome.webkit.Credential)
is executed. -
toCallback
Creates a native function pointer to theupcall(java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment)
method.- Specified by:
toCallback
in interfaceFunctionPointer
- Parameters:
arena
- the function pointer will be allocated in this arena- Returns:
- the native function pointer
-