This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/passbook/providers/saml/migrations/0001_initial.py

52 lines
2.1 KiB
Python
Raw Normal View History

2019-10-07 14:33:48 +00:00
# Generated by Django 2.2.6 on 2019-10-07 14:07
2018-11-16 10:41:14 +00:00
2019-10-07 14:33:48 +00:00
import django.contrib.postgres.fields
2018-11-16 10:41:14 +00:00
import django.db.models.deletion
from django.db import migrations, models
2018-11-16 10:41:14 +00:00
class Migration(migrations.Migration):
initial = True
dependencies = [
2018-11-25 11:31:11 +00:00
('passbook_core', '0001_initial'),
2018-11-16 10:41:14 +00:00
]
operations = [
2019-10-07 14:33:48 +00:00
migrations.CreateModel(
name='SAMLPropertyMapping',
fields=[
('propertymapping_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='passbook_core.PropertyMapping')),
('saml_name', models.TextField()),
('friendly_name', models.TextField(blank=True, default=None, null=True)),
('values', django.contrib.postgres.fields.ArrayField(base_field=models.TextField(), size=None)),
],
options={
'verbose_name': 'SAML Property Mapping',
'verbose_name_plural': 'SAML Property Mappings',
},
bases=('passbook_core.propertymapping',),
),
2018-11-16 10:41:14 +00:00
migrations.CreateModel(
2018-12-10 09:49:50 +00:00
name='SAMLProvider',
2018-11-16 10:41:14 +00:00
fields=[
2018-12-10 09:49:50 +00:00
('provider_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='passbook_core.Provider')),
('name', models.TextField()),
2018-11-16 10:41:14 +00:00
('acs_url', models.URLField()),
2019-10-07 14:33:48 +00:00
('audience', models.TextField(default='')),
2018-11-16 10:41:14 +00:00
('processor_path', models.CharField(max_length=255)),
2018-12-10 09:49:50 +00:00
('issuer', models.TextField()),
('assertion_valid_for', models.IntegerField(default=86400)),
('signing', models.BooleanField(default=True)),
('signing_cert', models.TextField()),
('signing_key', models.TextField()),
2018-11-16 10:41:14 +00:00
],
options={
2018-12-10 09:49:50 +00:00
'verbose_name': 'SAML Provider',
'verbose_name_plural': 'SAML Providers',
2018-11-16 10:41:14 +00:00
},
2018-12-10 09:49:50 +00:00
bases=('passbook_core.provider',),
2018-11-16 10:41:14 +00:00
),
]