@tauri-apps/plugin-authenticator
Classes
Authenticator
Constructors
new Authenticator()
Returns
Methods
init()
Returns
Promise
<void
>
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/authenticator/guest-js/index.ts#L8
register()
Parameters
Parameter | Type |
---|---|
challenge | string |
application | string |
Returns
Promise
<string
>
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/authenticator/guest-js/index.ts#L12
sign()
Parameters
Parameter | Type |
---|---|
challenge | string |
application | string |
keyHandle | string |
Returns
Promise
<string
>
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/authenticator/guest-js/index.ts#L34
verifyRegistration()
Parameters
Parameter | Type |
---|---|
challenge | string |
application | string |
registerData | string |
clientData | string |
Returns
Promise
<string
>
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/authenticator/guest-js/index.ts#L20
verifySignature()
Parameters
Parameter | Type |
---|---|
challenge | string |
application | string |
signData | string |
clientData | string |
keyHandle | string |
pubkey | string |
Returns
Promise
<number
>
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/authenticator/guest-js/index.ts#L47
© 2024 Tauri Contributors. CC-BY / MIT