issuer.authkit, issuer.clerk, issuer.oidc or issuer.jwt from
@bijectionhq/bijection.
bijection/app.ts
url, audience, clientId,
jwks, algorithm, sourceId): one written in code refuses
IssuerValueInCode. An installation’s values are carried by trust grants:
rows of sys.grants that carry attest for the issuer, issued by the
identity admin, whose grant the installation’s creator holds:
bijection env set. A trust names
the claims it accepts; a claim is trusted only when both the declaration and
the trust name it.
A declaration such as issuer.oidc({ tenant: true }) defines a tenant
issuer shape. An administrator role declares attest: [shape] and
issue: true. The mutation declares calls: [issuer.tenantTrust.issue]
and issues the trust with
ctx.call(issuer.tenantTrust.issue, { shape, member, values }), where
shape is the issuer’s tree path and member is the exact member tag.
The call returns the grant id. To revoke it, declare
calls: [issuer.tenantTrust.revoke] and call that export with
{ shape, member, grant }. Revocation ends every identity binding and
session issued under the trust. Every issue and revocation appends a
sys.grantTransitions entry.