-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(model): add help text to all fields for ClaimsProvider
- Loading branch information
1 parent
6522d2d
commit 12b6943
Showing
2 changed files
with
81 additions
and
8 deletions.
There are no files selected for viewing
65 changes: 65 additions & 0 deletions
65
benefits/core/migrations/0017_add_help_text_to_claimsprovider_fields.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# Generated by Django 5.0.7 on 2024-07-31 21:00 | ||
|
||
import benefits.core.models | ||
import benefits.secrets | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("core", "0016_rename_authprovider_claimsprovider"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="claimsprovider", | ||
name="authority", | ||
field=models.TextField(help_text="The fully qualified HTTPS domain name for an OAuth authority server"), | ||
), | ||
migrations.AlterField( | ||
model_name="claimsprovider", | ||
name="claim", | ||
field=models.TextField( | ||
blank=True, help_text="The name of the claim (name/value pair) that is used to verify eligibility", null=True | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="claimsprovider", | ||
name="client_id_secret_name", | ||
field=benefits.core.models.SecretNameField( | ||
help_text="The name of the secret containing the client ID for this claims provider", | ||
max_length=127, | ||
validators=[benefits.secrets.SecretNameValidator()], | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="claimsprovider", | ||
name="client_name", | ||
field=models.TextField(help_text="Unique identifier used to register this claims provider with Authlib registry"), | ||
), | ||
migrations.AlterField( | ||
model_name="claimsprovider", | ||
name="scheme", | ||
field=models.TextField(help_text="The authentication scheme to use"), | ||
), | ||
migrations.AlterField( | ||
model_name="claimsprovider", | ||
name="scope", | ||
field=models.TextField( | ||
blank=True, | ||
help_text="A space-separated list of identifiers used to specify what access privileges are being requested", | ||
null=True, | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="claimsprovider", | ||
name="sign_out_button_template", | ||
field=models.TextField(blank=True, help_text="Template that renders sign-out button", null=True), | ||
), | ||
migrations.AlterField( | ||
model_name="claimsprovider", | ||
name="sign_out_link_template", | ||
field=models.TextField(blank=True, help_text="Template that renders sign-out link", null=True), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters