UNPKG
virto-signer
Version:
latest (1.0.0)
1.0.0
A signer for constructing a signed extrinsic using Pass-provided authenticators
virto-signer
/
dist
/
esm
/
authenticator.d.ts
6 lines
(5 loc)
•
170 B
TypeScript
View Raw
1
2
3
4
5
6
export
interface
Authenticator
{
readonly
deviceId
:
Uint8Array
;
readonly
hashedUserId
:
Uint8Array
;
credentials
(
challenge
:
Uint8Array
):
Promise
<
Uint8Array
>; }