@mysten/sui
Version:
Sui TypeScript API(Work in Progress)
17 lines (14 loc) • 439 B
text/typescript
// Copyright (c) Mysten Labs, Inc.
// SPDX-License-Identifier: Apache-2.0
/**
* The value returned from navigator.credentials.get()
*/
export interface AuthenticationCredential extends PublicKeyCredential {
response: AuthenticatorAssertionResponse;
}
/**
* The value returned from navigator.credentials.create()
*/
export interface RegistrationCredential extends PublicKeyCredential {
response: AuthenticatorAttestationResponse;
}