app.didpic.identity.getFastPathToken

Exchange a proxied service-auth call for a short-lived direct-access token bound to the viewer's DID.

Details · procedure
Kindprocedure
Authorityidentity.didpic.app
Indexed
cid bafyreifnwezh555yr7gbenhmnkubodp5vse2qro77xzguvn46e3klbepkm

Checks

Valid
  • unlimited-string defs.main.output.schema.properties.tokenNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Exchange a proxied service-auth call for a short-lived direct-access token bound to the viewer's DID.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "expiresAt": {
              "format": "datetime",
              "type": "string"
            },
            "token": {
              "description": "Bearer token for direct calls to allowed methods.",
              "type": "string"
            }
          },
          "required": [
            "token",
            "expiresAt"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "app.didpic.identity.getFastPathToken",
  "lexicon": 1
}