Files
TK-FB-Project/api.hyungi.net/node_modules/@simplewebauthn/server/esm/helpers/matchExpectedRPID.d.ts

8 lines
363 B
TypeScript

/**
* Go through each expected RP ID and try to find one that matches. Returns the unhashed RP ID
* that matched the hash in the response.
*
* Raises an `UnexpectedRPIDHash` error if no match is found
*/
export declare function matchExpectedRPID(rpIDHash: Uint8Array, expectedRPIDs: string[]): Promise<string>;
//# sourceMappingURL=matchExpectedRPID.d.ts.map