Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
*/
752
export
function
getCodeVerifier() {
753
return
getRandomString(43, 128);
754
}
755
756
export
async
function
getCodeChallenge(codeVerifier) {
757
const
method =
'S256'
;
Callers
3
authorize
Function · 0.90
authorize
Function · 0.90
authorize
Function · 0.90
Calls
1
getRandomString
Function · 0.90
Tested by
no test coverage detected