MCPcopy Create free account
hub / github.com/boringstack-xyz/boringstack / provider

Function provider

apps/api/tests/lib/oauth/oauth.utils.test.ts:19–22  ·  view source on GitHub ↗
(name: string, passwordHash = "")

Source from the content-addressed store, hash-verified

17const EMAIL_PROVIDER = "email";
18
19const provider = (name: string, passwordHash = ""): IProviderRow => ({
20 provider: name,
21 passwordHash,
22});
23
24describe("isValidOAuthProvider", () => {
25 test("accepts each known provider", () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected