Class: PublicKeyAuthClient
auth/public-key.PublicKeyAuthClient
Implements
Constructors
constructor
• new PublicKeyAuthClient(_keyStore
)
Parameters
Name | Type |
---|---|
_keyStore |
BiometricKeyStore |
Defined in
core/src/auth/public-key.ts:51
Methods
_sign
▸ Private
_sign(data
, challenge
): Promise
<Uint8Array
>
Parameters
Name | Type |
---|---|
data |
PublicKeyAuthClientData |
challenge |
PublicKeyAuthChallenge |
Returns
Promise
<Uint8Array
>
Defined in
core/src/auth/public-key.ts:83
prepareAuthentication
▸ prepareAuthentication(__namedParameters
): Promise
<{ signedChallenge
:
string
}>
Parameters
Name | Type |
---|---|
__namedParameters |
any |
Returns
Promise
<{ signedChallenge
: string
}>
Implementation of
AuthClient.prepareAuthentication
Defined in
core/src/auth/public-key.ts:72
prepareRegistration
▸ prepareRegistration(__namedParameters
): Promise
<{ publicKey
:
string
; signedChallenge
: string
}>
Parameters
Name | Type |
---|---|
__namedParameters |
Object |
__namedParameters.challenge |
any |
Returns
Promise
<{ publicKey
: string
; signedChallenge
: string
}>
Implementation of
AuthClient.prepareRegistration
Defined in
core/src/auth/public-key.ts:57
supportsType
▸ supportsType(type
): boolean
Parameters
Name | Type |
---|---|
type |
AuthType |
Returns
boolean