37 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
# Generated by Django 3.1.1 on 2020-09-20 12:40
 | 
						|
 | 
						|
from django.db import migrations, models
 | 
						|
 | 
						|
 | 
						|
class Migration(migrations.Migration):
 | 
						|
 | 
						|
    dependencies = [
 | 
						|
        (
 | 
						|
            "passbook_providers_oauth2",
 | 
						|
            "0004_remove_oauth2provider_post_logout_redirect_uris",
 | 
						|
        ),
 | 
						|
    ]
 | 
						|
 | 
						|
    operations = [
 | 
						|
        migrations.AlterField(
 | 
						|
            model_name="oauth2provider",
 | 
						|
            name="response_type",
 | 
						|
            field=models.TextField(
 | 
						|
                choices=[
 | 
						|
                    ("code", "code (Authorization Code Flow)"),
 | 
						|
                    (
 | 
						|
                        "code#adfs",
 | 
						|
                        "code (ADFS Compatibility Mode, sends id_token as access_token)",
 | 
						|
                    ),
 | 
						|
                    ("id_token", "id_token (Implicit Flow)"),
 | 
						|
                    ("id_token token", "id_token token (Implicit Flow)"),
 | 
						|
                    ("code token", "code token (Hybrid Flow)"),
 | 
						|
                    ("code id_token", "code id_token (Hybrid Flow)"),
 | 
						|
                    ("code id_token token", "code id_token token (Hybrid Flow)"),
 | 
						|
                ],
 | 
						|
                default="code",
 | 
						|
                help_text="Response Type required by the client.",
 | 
						|
            ),
 | 
						|
        ),
 | 
						|
    ]
 |