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

Function getCodeVerifier

src/background/sync/base.js:752–754  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

750 * Ref: RFC 7636
751 */
752export function getCodeVerifier() {
753 return getRandomString(43, 128);
754}
755
756export async function getCodeChallenge(codeVerifier) {
757 const method = 'S256';

Callers 3

authorizeFunction · 0.90
authorizeFunction · 0.90
authorizeFunction · 0.90

Calls 1

getRandomStringFunction · 0.90

Tested by

no test coverage detected