feat: add long-lived api tokens (#1085)
Co-authored-by: kolaente <k@knt.li> Reviewed-on: https://kolaente.dev/vikunja/api/pulls/1085 Co-authored-by: konrad <k@knt.li> Co-committed-by: konrad <k@knt.li>
This commit is contained in:
@ -8847,6 +8847,10 @@ var doc = `{
|
||||
"user.Login": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"long_token": {
|
||||
"description": "If true, the token returned will be valid a lot longer than default. Useful for \"remember me\" style logins.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"password": {
|
||||
"description": "The password for the user.",
|
||||
"type": "string"
|
||||
|
@ -8831,6 +8831,10 @@
|
||||
"user.Login": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"long_token": {
|
||||
"description": "If true, the token returned will be valid a lot longer than default. Useful for \"remember me\" style logins.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"password": {
|
||||
"description": "The password for the user.",
|
||||
"type": "string"
|
||||
|
@ -1157,6 +1157,10 @@ definitions:
|
||||
type: object
|
||||
user.Login:
|
||||
properties:
|
||||
long_token:
|
||||
description: If true, the token returned will be valid a lot longer than default.
|
||||
Useful for "remember me" style logins.
|
||||
type: boolean
|
||||
password:
|
||||
description: The password for the user.
|
||||
type: string
|
||||
|
Reference in New Issue
Block a user