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.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | dept.social |
| Indexed |
Checks
Valid Lint pass{
"$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
}