@tauri-apps/plugin-authenticator
Classes
Authenticator
Constructors
new Authenticator()
new Authenticator(): AuthenticatorReturns
Methods
init()
init(): Promise<void>Returns
Promise<void>
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/authenticator/guest-js/index.ts#L8
register()
register(challenge, application): Promise<string>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()
sign( challenge, application,keyHandle): Promise<string>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()
verifyRegistration( challenge, application, registerData,clientData): Promise<string>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()
verifySignature( challenge, application, signData, clientData, keyHandle,pubkey): Promise<number>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