social.dept.createSession

Start a Social Dept. session for the account that signed the service auth token sent as the bearer credential. The token's lxm must be this method.

Repository @socialde.pt did:plc:ngpq4mefyctd3qkclic7jtv3 not from the namespace authority
Details · procedure
Kindprocedure
Authoritydept.social
Indexed
cid bafyreif3abetkob4uzzrpguef6iteezsqcemg6hjwffxhk3yf6se4gbrpe

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Start a Social Dept. session for the account that signed the service auth token sent as the bearer credential. The token's lxm must be this method.",
      "errors": [
        {
          "description": "The token was signed by a service, not an account.",
          "name": "BadJwtIss"
        },
        {
          "description": "This account cannot sign in here.",
          "name": "AccountBanned"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "did": {
              "format": "did",
              "type": "string"
            },
            "handle": {
              "format": "handle",
              "type": "string"
            }
          },
          "required": [
            "did"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "social.dept.createSession",
  "lexicon": 1
}