mirror of
				https://github.com/owncloud/android-library.git
				synced 2025-11-04 04:17:50 +00:00 
			
		
		
		
	Make some fields not mandatory in discovery response
This commit is contained in:
		
							parent
							
								
									3f8ddd0ba9
								
							
						
					
					
						commit
						8c4a2708c2
					
				@ -31,13 +31,13 @@ import com.squareup.moshi.JsonClass
 | 
				
			|||||||
@JsonClass(generateAdapter = true)
 | 
					@JsonClass(generateAdapter = true)
 | 
				
			||||||
data class OIDCDiscoveryResponse(
 | 
					data class OIDCDiscoveryResponse(
 | 
				
			||||||
    val authorization_endpoint: String,
 | 
					    val authorization_endpoint: String,
 | 
				
			||||||
    val check_session_iframe: String,
 | 
					    val check_session_iframe: String?,
 | 
				
			||||||
    val end_session_endpoint: String,
 | 
					    val end_session_endpoint: String?,
 | 
				
			||||||
    val issuer: String,
 | 
					    val issuer: String,
 | 
				
			||||||
    val registration_endpoint: String,
 | 
					    val registration_endpoint: String?,
 | 
				
			||||||
    val response_types_supported: List<String>,
 | 
					    val response_types_supported: List<String>,
 | 
				
			||||||
    val scopes_supported: List<String>,
 | 
					    val scopes_supported: List<String>?,
 | 
				
			||||||
    val token_endpoint: String,
 | 
					    val token_endpoint: String,
 | 
				
			||||||
    val token_endpoint_auth_methods_supported: List<String>,
 | 
					    val token_endpoint_auth_methods_supported: List<String>?,
 | 
				
			||||||
    val userinfo_endpoint: String,
 | 
					    val userinfo_endpoint: String?,
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user