comAtprotoServerResetPassword top-level constant
com.atproto.server.resetPassword
Implementation
const comAtprotoServerResetPassword = <String, dynamic>{
"lexicon": 1,
"id": "com.atproto.server.resetPassword",
"defs": {
"main": {
"type": "procedure",
"description": "Reset a user account password using a token.",
"input": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["token", "password"],
"properties": {
"token": {"type": "string"},
"password": {"type": "string"}
}
}
},
"errors": [
{"name": "ExpiredToken"},
{"name": "InvalidToken"}
]
}
}
};