Variables
Const base64UrlDecode
base64UrlDecode: (encoded: string) => string = pipe(replaceTokens,padString,base64Decode,)
Type declaration
-
- (encoded: string): string
-
Parameters
Returns string
Const base64UrlEncode
base64UrlEncode: (str: string) => string = pipe(base64Encode, encodeTokens)
Type declaration
-
-
Parameters
Returns string
Const isJwt
isJwt: (value: A) => value is B = isNewType((s: string): s is Jwt => regex.test(s))
Type declaration
-
-
Parameters
Returns value is B
@typed/jwt
An JWT implementation that uses public-key cryptography for signing/verifying, using @typed/effects.