root: update schema
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
20572c728d
commit
9a6a3e66b8
|
@ -409,7 +409,7 @@ class TokenIntents(models.TextChoices):
|
||||||
INTENT_RECOVERY = "recovery"
|
INTENT_RECOVERY = "recovery"
|
||||||
|
|
||||||
# App-specific passwords
|
# App-specific passwords
|
||||||
INTENT_APP_PASSWORD = "app_password"
|
INTENT_APP_PASSWORD = "app_password" # nosec
|
||||||
|
|
||||||
|
|
||||||
class Token(ManagedModel, ExpiringModel):
|
class Token(ManagedModel, ExpiringModel):
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
"""Backend paths"""
|
"""Backend paths"""
|
||||||
BACKEND_DJANGO = "django.contrib.auth.backends.ModelBackend"
|
BACKEND_DJANGO = "django.contrib.auth.backends.ModelBackend"
|
||||||
BACKEND_LDAP = "authentik.sources.ldap.auth.LDAPBackend"
|
BACKEND_LDAP = "authentik.sources.ldap.auth.LDAPBackend"
|
||||||
BACKEND_TOKEN = "authentik.core.token_auth.TokenBackend"
|
BACKEND_TOKEN = "authentik.core.token_auth.TokenBackend" # nosec
|
||||||
|
|
|
@ -2515,6 +2515,7 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
enum:
|
enum:
|
||||||
- api
|
- api
|
||||||
|
- app_password
|
||||||
- recovery
|
- recovery
|
||||||
- verification
|
- verification
|
||||||
- name: ordering
|
- name: ordering
|
||||||
|
@ -20382,6 +20383,7 @@ components:
|
||||||
BackendsEnum:
|
BackendsEnum:
|
||||||
enum:
|
enum:
|
||||||
- django.contrib.auth.backends.ModelBackend
|
- django.contrib.auth.backends.ModelBackend
|
||||||
|
- authentik.core.token_auth.TokenBackend
|
||||||
- authentik.sources.ldap.auth.LDAPBackend
|
- authentik.sources.ldap.auth.LDAPBackend
|
||||||
type: string
|
type: string
|
||||||
BindingTypeEnum:
|
BindingTypeEnum:
|
||||||
|
@ -22211,6 +22213,7 @@ components:
|
||||||
- verification
|
- verification
|
||||||
- api
|
- api
|
||||||
- recovery
|
- recovery
|
||||||
|
- app_password
|
||||||
type: string
|
type: string
|
||||||
InvalidResponseActionEnum:
|
InvalidResponseActionEnum:
|
||||||
enum:
|
enum:
|
||||||
|
|
Reference in a new issue