com.atproto.server.refreshSession
Refresh an authentication session. Requires auth using the 'refreshJwt' (not the 'accessJwt').
Details · procedure
| Kind | procedure |
|---|---|
| Authority | server.atproto.com |
| Indexed |
Checks
Validunlimited-stringdefs.main.output.schema.properties.accessJwtNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.emailNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.refreshJwtNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.statusNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Refresh an authentication session. Requires auth using the 'refreshJwt' (not the 'accessJwt').",
"errors": [
{
"name": "AccountTakedown"
},
{
"name": "InvalidToken"
},
{
"name": "ExpiredToken"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"accessJwt": {
"type": "string"
},
"active": {
"type": "boolean"
},
"did": {
"format": "did",
"type": "string"
},
"didDoc": {
"type": "unknown"
},
"email": {
"type": "string"
},
"emailAuthFactor": {
"type": "boolean"
},
"emailConfirmed": {
"type": "boolean"
},
"handle": {
"format": "handle",
"type": "string"
},
"refreshJwt": {
"type": "string"
},
"status": {
"description": "Hosting status of the account. If not specified, then assume 'active'.",
"knownValues": [
"takendown",
"suspended",
"deactivated"
],
"type": "string"
}
},
"required": [
"accessJwt",
"refreshJwt",
"handle",
"did"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "com.atproto.server.refreshSession",
"lexicon": 1
}