MCPcopy Index your code
hub / github.com/nodeSolidServer/node-solid-server / issueIdToken

Function issueIdToken

test/integration/acl-oidc-test.mjs:79–89  ·  view source on GitHub ↗
(oidcProvider, webId)

Source from the content-addressed store, hash-verified

77}
78
79function issueIdToken (oidcProvider, webId) {
80 return Promise.resolve().then(() => {
81 const jwt = IDToken.issue(oidcProvider, {
82 sub: webId,
83 aud: [serverUri, 'client123'],
84 azp: 'client123'
85 })
86
87 return jwt.encode()
88 })
89}
90
91const argv = {
92 root: rootPath,

Callers 1

acl-oidc-test.mjsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected