app.tempomusic.gateway.createSession

lexicons.tempomusic.fan

{
  "id": "app.tempomusic.gateway.createSession",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "platform"
          ],
          "properties": {
            "platform": {
              "type": "string",
              "maxLength": 100,
              "description": "Client platform requesting the session. Web always receives cookie mode; other platforms receive token mode unless the request carries an Origin header.",
              "knownValues": [
                "android",
                "ios",
                "desktop",
                "web"
              ]
            }
          }
        },
        "encoding": "application/json"
      },
      "output": {
        "schema": {
          "type": "object",
          "properties": {
            "sessionToken": {
              "type": "string",
              "maxLength": 8192,
              "description": "Opaque session token (token mode only). Absent in cookie mode."
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Exchange a PDS-minted service auth token for a gateway session. The service auth JWT travels in the Authorization header (aud = the gateway DID, lxm = this NSID) and is single-use. Browser callers (Origin header present) receive the session as an HttpOnly cookie and no sessionToken is returned."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against app.tempomusic.gateway.createSession

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:pxsuqmultto34oks44m2lgxm
CID
bafyreihudmsbhgke4z6uy2l6xmfiijcadp6xezqjvbs4hzbeqi5bcergq4
Indexed At
2026-08-24 09:06 UTC
AT-URI
at://did:plc:pxsuqmultto34oks44m2lgxm/com.atproto.lexicon.schema/app.tempomusic.gateway.createSession

Lexicon Garden

@