MCPcopy Create free account
hub / github.com/violentmonkey/violentmonkey / getCodeChallenge

Function getCodeChallenge

src/background/sync/base.js:756–763  ·  view source on GitHub ↗
(codeVerifier)

Source from the content-addressed store, hash-verified

754}
755
756export async function getCodeChallenge(codeVerifier) {
757 const method = 'S256';
758 const challenge = await sha256b64url(codeVerifier);
759 return {
760 code_challenge: challenge,
761 code_challenge_method: method,
762 };
763}

Callers 3

authorizeFunction · 0.90
authorizeFunction · 0.90
authorizeFunction · 0.90

Calls 1

sha256b64urlFunction · 0.85

Tested by

no test coverage detected