providers/proxy: update phrasing for basic_auth_* attributes
closes #265
This commit is contained in:
parent
7a578e5e83
commit
c1eb8317f7
|
@ -0,0 +1,31 @@
|
||||||
|
# Generated by Django 3.1.2 on 2020-10-07 17:21
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
("passbook_providers_proxy", "0008_auto_20200930_0810"),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="proxyprovider",
|
||||||
|
name="basic_auth_password_attribute",
|
||||||
|
field=models.TextField(
|
||||||
|
blank=True,
|
||||||
|
help_text="User/Group Attribute used for the password part of the HTTP-Basic Header.",
|
||||||
|
verbose_name="HTTP-Basic Password Key",
|
||||||
|
),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="proxyprovider",
|
||||||
|
name="basic_auth_user_attribute",
|
||||||
|
field=models.TextField(
|
||||||
|
blank=True,
|
||||||
|
help_text="User/Group Attribute used for the user part of the HTTP-Basic Header. If not set, the user's Email address is used.",
|
||||||
|
verbose_name="HTTP-Basic Username Key",
|
||||||
|
),
|
||||||
|
),
|
||||||
|
]
|
|
@ -75,19 +75,21 @@ class ProxyProvider(OutpostModel, OAuth2Provider):
|
||||||
)
|
)
|
||||||
basic_auth_user_attribute = models.TextField(
|
basic_auth_user_attribute = models.TextField(
|
||||||
blank=True,
|
blank=True,
|
||||||
verbose_name=_("HTTP-Basic Username"),
|
verbose_name=_("HTTP-Basic Username Key"),
|
||||||
help_text=_(
|
help_text=_(
|
||||||
(
|
(
|
||||||
"User Attribute used for the user part of the HTTP-Basic Header. "
|
"User/Group Attribute used for the user part of the HTTP-Basic Header. "
|
||||||
"If not set, the user's Email address is used."
|
"If not set, the user's Email address is used."
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
basic_auth_password_attribute = models.TextField(
|
basic_auth_password_attribute = models.TextField(
|
||||||
blank=True,
|
blank=True,
|
||||||
verbose_name=_("HTTP-Basic Password"),
|
verbose_name=_("HTTP-Basic Password Key"),
|
||||||
help_text=_(
|
help_text=_(
|
||||||
("User Attribute used for the password part of the HTTP-Basic Header.")
|
(
|
||||||
|
"User/Group Attribute used for the password part of the HTTP-Basic Header."
|
||||||
|
)
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
22
swagger.yaml
22
swagger.yaml
|
@ -6475,13 +6475,14 @@ definitions:
|
||||||
from passbook.
|
from passbook.
|
||||||
type: boolean
|
type: boolean
|
||||||
basic_auth_password_attribute:
|
basic_auth_password_attribute:
|
||||||
title: HTTP-Basic Password
|
title: HTTP-Basic Password Key
|
||||||
description: User Attribute used for the password part of the HTTP-Basic Header.
|
description: User/Group Attribute used for the password part of the HTTP-Basic
|
||||||
|
Header.
|
||||||
type: string
|
type: string
|
||||||
basic_auth_user_attribute:
|
basic_auth_user_attribute:
|
||||||
title: HTTP-Basic Username
|
title: HTTP-Basic Username Key
|
||||||
description: User Attribute used for the user part of the HTTP-Basic Header.
|
description: User/Group Attribute used for the user part of the HTTP-Basic
|
||||||
If not set, the user's Email address is used.
|
Header. If not set, the user's Email address is used.
|
||||||
type: string
|
type: string
|
||||||
Policy:
|
Policy:
|
||||||
type: object
|
type: object
|
||||||
|
@ -6974,13 +6975,14 @@ definitions:
|
||||||
from passbook.
|
from passbook.
|
||||||
type: boolean
|
type: boolean
|
||||||
basic_auth_password_attribute:
|
basic_auth_password_attribute:
|
||||||
title: HTTP-Basic Password
|
title: HTTP-Basic Password Key
|
||||||
description: User Attribute used for the password part of the HTTP-Basic Header.
|
description: User/Group Attribute used for the password part of the HTTP-Basic
|
||||||
|
Header.
|
||||||
type: string
|
type: string
|
||||||
basic_auth_user_attribute:
|
basic_auth_user_attribute:
|
||||||
title: HTTP-Basic Username
|
title: HTTP-Basic Username Key
|
||||||
description: User Attribute used for the user part of the HTTP-Basic Header.
|
description: User/Group Attribute used for the user part of the HTTP-Basic
|
||||||
If not set, the user's Email address is used.
|
Header. If not set, the user's Email address is used.
|
||||||
type: string
|
type: string
|
||||||
SAMLProvider:
|
SAMLProvider:
|
||||||
required:
|
required:
|
||||||
|
|
Reference in New Issue