Constructors
Properties
Methods
attestation
attestation( __namedParameters: { challenge: any; clientAttestationResponse: any; origin: any; },): Promise<Fido2AttestationResult> Parameters
- __namedParameters: { challenge: any; clientAttestationResponse: any; origin: any }
Returns Promise<Fido2AttestationResult>
checkAlg
checkAlg(res: any, exp: any): Promise<any>
init
init(__namedParameters: { rpId: any; rpName: any; timeout: any }): Promise<void> Parameters
- __namedParameters: { rpId: any; rpName: any; timeout: any }
Returns Promise<void>
login
login(): Promise< { allowCredentials?: PublicKeyCredentialDescriptor[]; attestation: string; challenge: string; extensions?: any; rawChallenge?: ArrayBuffer; rpId?: string; status: string; timeout?: number; userVerification?: UserVerification; },> Returns Promise<
{
allowCredentials?: PublicKeyCredentialDescriptor[];
attestation: string;
challenge: string;
extensions?: any;
rawChallenge?: ArrayBuffer;
rpId?: string;
status: string;
timeout?: number;
userVerification?: UserVerification;
},
>
registration
registration( __namedParameters: { displayName: any; id: any; username: any },): Promise< { attestation?: Attestation; authenticatorSelection?: AuthenticatorSelectionCriteria; challenge: string; extensions?: any; pubKeyCredParams: { alg: number; type: "public-key" }[]; rawChallenge?: ArrayBuffer; rp: { icon?: string; id: string; name: string }; status: string; timeout?: number; user: { displayName: any; id: any; name: any }; },> Parameters
- __namedParameters: { displayName: any; id: any; username: any }
Returns Promise<
{
attestation?: Attestation;
authenticatorSelection?: AuthenticatorSelectionCriteria;
challenge: string;
extensions?: any;
pubKeyCredParams: { alg: number; type: "public-key" }[];
rawChallenge?: ArrayBuffer;
rp: { icon?: string; id: string; name: string };
status: string;
timeout?: number;
user: { displayName: any; id: any; name: any };
},
>