org.tangled.repo.mintToken
Mint a service-auth JWT whose issuer is this repo's DID, signed by the knot that owns the repo's signing key. When calling this, you'll need the same perms as git push, ie. being repo owner/collaborator/knot-admin.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | repo.tangled.org |
| Indexed |
Showing version bafyreicnlsfce7h3qndo6ayvul2ft3rpozh56tdgvzf5ordcecj3phfrc4. Show the latest
Procedure
procedure · POSTInput
application/jsonAudience of the minted token, a DID service ref for the service, that the token is addressed to.
Unix seconds. Must be in the future, and at most 60s after mint time.
Lexicon method to which minted token binds.
DID of the repo that becomes the token's issuer. Must be the audience of a given calling session.
Output
application/jsonThe signed service-auth JWT.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Get a signed token on behalf of the requesting DID for the requested service.
-
at.blueharbor.createSession
procedureThe lxm named in service-auth JWTs minted for the BlueHarbor backend (aud did:web:blueharbor.at). The backend verifies the JWT against the caller's DID document and exchanges it for a BlueHarbor session token. Defined here so the method identifier resolves; the HTTP call itself is served by the BlueHarbor service, not a PDS.
-
org.tangled.repo.reserveKey
procedureReserve a repo identity under a DID the caller brings. The knot seals and holds a signing key for the repo DID; the caller publishes the matching public key in that DID's document before calling org.tangled.repo.createRepo with the same DID.