1
0
mirror of https://github.com/danog/tl-schema.git synced 2024-12-12 09:29:50 +01:00
tl-schema/l024/schema.json

87 lines
1.6 KiB
JSON
Raw Normal View History

2017-07-03 02:52:08 +02:00
{
"constructors": [
{
"id": "1467017129",
"predicate": "account.noPassword",
"params": [
{
"name": "new_salt",
"type": "bytes"
}
],
"type": "account.Password"
},
{
"id": "1939758962",
"predicate": "account.password",
"params": [
{
"name": "current_salt",
"type": "bytes"
},
{
"name": "new_salt",
"type": "bytes"
},
{
"name": "hint",
"type": "string"
}
],
"type": "account.Password"
}
],
"methods": [
{
"id": "954152242",
"method": "account.updateDeviceLocked",
"params": [
{
"name": "period",
"type": "int"
}
],
"type": "Bool"
},
{
"id": "1418342645",
"method": "account.getPassword",
"params": [],
"type": "account.Password"
},
{
"id": "-584430193",
"method": "account.setPassword",
"params": [
{
"name": "current_password_hash",
"type": "bytes"
},
{
"name": "new_salt",
"type": "bytes"
},
{
"name": "new_password_hash",
"type": "bytes"
},
{
"name": "hint",
"type": "string"
}
],
"type": "Bool"
},
{
"id": "174260510",
"method": "auth.checkPassword",
"params": [
{
"name": "password_hash",
"type": "bytes"
}
],
"type": "auth.Authorization"
}
]
}