root: update schema

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-08-23 16:14:33 +02:00
parent 20572c728d
commit 9a6a3e66b8
3 changed files with 5 additions and 2 deletions

View file

@ -409,7 +409,7 @@ class TokenIntents(models.TextChoices):
INTENT_RECOVERY = "recovery"
# App-specific passwords
INTENT_APP_PASSWORD = "app_password"
INTENT_APP_PASSWORD = "app_password" # nosec
class Token(ManagedModel, ExpiringModel):

View file

@ -1,4 +1,4 @@
"""Backend paths"""
BACKEND_DJANGO = "django.contrib.auth.backends.ModelBackend"
BACKEND_LDAP = "authentik.sources.ldap.auth.LDAPBackend"
BACKEND_TOKEN = "authentik.core.token_auth.TokenBackend"
BACKEND_TOKEN = "authentik.core.token_auth.TokenBackend" # nosec

View file

@ -2515,6 +2515,7 @@ paths:
type: string
enum:
- api
- app_password
- recovery
- verification
- name: ordering
@ -20382,6 +20383,7 @@ components:
BackendsEnum:
enum:
- django.contrib.auth.backends.ModelBackend
- authentik.core.token_auth.TokenBackend
- authentik.sources.ldap.auth.LDAPBackend
type: string
BindingTypeEnum:
@ -22211,6 +22213,7 @@ components:
- verification
- api
- recovery
- app_password
type: string
InvalidResponseActionEnum:
enum: