Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dailydotdev/apps
/ decodeJwtPart
Function
decodeJwtPart
packages/webapp/lib/agentMarkdownAccess.ts:29–30 ·
view source on GitHub ↗
(value: string)
Source
from the content-addressed store, hash-verified
27
};
28
29
const
decodeJwtPart = <T>(value: string): T =>
30
JSON.parse(
new
TextDecoder().decode(decodeBase64Url(value))) as T;
31
32
type
MarkdownTokenPayload = {
33
aud?: unknown;
Callers
1
hasValidAgentMarkdownToken
Function · 0.85
Calls
1
decodeBase64Url
Function · 0.85
Tested by
no test coverage detected