36 lines
1.2 KiB
Python
36 lines
1.2 KiB
Python
# Generated by Django 2.1.4 on 2018-12-10 09:16
|
|
|
|
import django.db.models.deletion
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
('passbook_core', '0001_initial'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='SAMLProvider',
|
|
fields=[
|
|
('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()),
|
|
('acs_url', models.URLField()),
|
|
('processor_path', models.CharField(max_length=255)),
|
|
('issuer', models.TextField()),
|
|
('assertion_valid_for', models.IntegerField(default=86400)),
|
|
('signing', models.BooleanField(default=True)),
|
|
('signing_cert', models.TextField()),
|
|
('signing_key', models.TextField()),
|
|
],
|
|
options={
|
|
'verbose_name': 'SAML Provider',
|
|
'verbose_name_plural': 'SAML Providers',
|
|
},
|
|
bases=('passbook_core.provider',),
|
|
),
|
|
]
|