53 lines
1.2 KiB
JSON
53 lines
1.2 KiB
JSON
|
{
|
||
|
"name": "PamResult",
|
||
|
"module": "Quickshell.Services.Pam",
|
||
|
"type": "class",
|
||
|
"super": {
|
||
|
"type": "qt",
|
||
|
"module": "qml.QtQml",
|
||
|
"name": "QtObject"
|
||
|
},
|
||
|
"description": "The result of an authentication.",
|
||
|
"details": "See {{< qmltypelink type=\"local\" module=\"Quickshell.Services.Pam\" name=\"PamContext\" mtype=\"signal\" mname=\"completed\" >}}.\n",
|
||
|
"flags": [
|
||
|
"enum"
|
||
|
],
|
||
|
"properties": {},
|
||
|
"functions": [
|
||
|
{
|
||
|
"ret": {
|
||
|
"type": "qt",
|
||
|
"module": "qml",
|
||
|
"name": "string"
|
||
|
},
|
||
|
"name": "toString",
|
||
|
"id": "toString",
|
||
|
"details": null,
|
||
|
"params": [
|
||
|
{
|
||
|
"name": "value",
|
||
|
"type": {
|
||
|
"type": "local",
|
||
|
"module": "Quickshell.Services.Pam",
|
||
|
"name": "PamResult"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"signals": {},
|
||
|
"variants": {
|
||
|
"Success": {
|
||
|
"details": "Authentication was successful.\n"
|
||
|
},
|
||
|
"Error": {
|
||
|
"details": "An error occurred while trying to authenticate.\n"
|
||
|
},
|
||
|
"Failed": {
|
||
|
"details": "Authentication failed.\n"
|
||
|
},
|
||
|
"MaxTries": {
|
||
|
"details": "The authentication method ran out of tries and should not be used again.\n"
|
||
|
}
|
||
|
}
|
||
|
}
|