First upload version 0.0.1
This commit is contained in:
7
node_modules/@octokit/auth-token/dist-src/is-jwt.js
generated
vendored
Normal file
7
node_modules/@octokit/auth-token/dist-src/is-jwt.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
const b64url = "(?:[a-zA-Z0-9_-]+)";
|
||||
const sep = "\\.";
|
||||
const jwtRE = new RegExp(`^${b64url}${sep}${b64url}${sep}${b64url}$`);
|
||||
const isJWT = jwtRE.test.bind(jwtRE);
|
||||
export {
|
||||
isJWT
|
||||
};
|
||||
Reference in New Issue
Block a user