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
|
2018-11-16 12:08:37 +00:00
|
|
|
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
|
|
|
),
|
|
|
|
]
|