Skip to content
Tauri

@tauri-apps/plugin-authenticator

Classes

Authenticator

Constructors

new Authenticator()
new Authenticator(): Authenticator
Returns

Authenticator

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
ParameterType
challengestring
applicationstring
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
ParameterType
challengestring
applicationstring
keyHandlestring
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
ParameterType
challengestring
applicationstring
registerDatastring
clientDatastring
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
ParameterType
challengestring
applicationstring
signDatastring
clientDatastring
keyHandlestring
pubkeystring
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