@mysten/sui
Version:
Sui TypeScript API(Work in Progress)
13 lines (12 loc) • 369 B
TypeScript
/**
* 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;
}