Class GetAssertionCallbacks
Definition
- Assembly:
- Tizen.Security.WebAuthn.dll
Callback function list used to get assertion with Get
public class GetAssertionCallbacks
- Inheritance
-
objectGet
Assertion Callbacks
Constructors
View SourceGetAssertionCallbacks(Action<string, object>, Action<PubkeyCredAssertion, WauthnError, object>, Action<HybridLinkedData, WauthnError, object>, object)
Initializes a new instance of the Get
Declaration
public GetAssertionCallbacks(Action<string, object> qrcodeCallback, Action<PubkeyCredAssertion, WauthnError, object> responseCallback, Action<HybridLinkedData, WauthnError, object> linkedDataCallback, object userData)
Parameters
Type | Name | Description |
---|---|---|
System. |
qrcodeCallback | Callback function for displaying QR code.
The qr_contents are encoded as you can see in the encodeQRContents() function of the
FIDO specification:
https://fidoalliance.org/specs/fido-v2.2-rd-20230321/fido-client-to-authenticator-protocol-v2.2-rd-20230321.html#hybrid-qr-initiated.
The qr_contents is encoded like "FIDO:/0254318383..........7406596245".
The image to be displayed shall be created from qr_contents
with media vision API ( |
System. |
responseCallback | Callback function for getting the final response. Invoked when the response for the GetAssertion request need to be returned. The result of the GetAssertion request may be one of the following:
|
System. |
linkedDataCallback | Callback function for getting the updated linked device data. May be called multiple times.
Invoked when the response for the Get
|
object | userData | User data to be passed to Qrcode |
Remarks
Provided callbacks MUST NOT THROW.
Properties
View SourceLinkedDataCallback
Gets the callback function for getting the updated linked device data.
Declaration
public Action<HybridLinkedData, WauthnError, object> LinkedDataCallback { get; init; }
Property Value
Type | Description |
---|---|
System. |
The callback function for getting the updated linked device data from the authenticator. |
QrcodeCallback
Gets the callback function for displaying the QR code.
Declaration
public Action<string, object> QrcodeCallback { get; init; }
Property Value
Type | Description |
---|---|
System. |
The callback function for displaying the QR code. |
ResponseCallback
Gets the callback function for getting the final response.
Declaration
public Action<PubkeyCredAssertion, WauthnError, object> ResponseCallback { get; init; }
Property Value
Type | Description |
---|---|
System. |
The callback function for getting the final response of the operation from the authenticator. |
UserData
Gets the user data to be passed to callbacks.
Declaration
public object UserData { get; init; }
Property Value
Type | Description |
---|---|
object | The user data to be passed to Qrcode |