Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/simplewebauthn/packages/server/src/helpers/matchExpectedRPID.ts

WebAuthn, Simplified. A collection of TypeScript-first libraries for simpler WebAuthn integration. Supports modern browsers, Node, Deno, and more.
Latest
import * as simplewebauthn from "https://deno.land/x/simplewebauthn@v12.0.0/packages/server/src/helpers/matchExpectedRPID.ts";

Functions

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.