1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-06-07 07:56:19 +00:00

Make some fields not mandatory in discovery response

This commit is contained in:
Abel García de Prada 2021-04-14 16:01:08 +02:00
parent 3f8ddd0ba9
commit 8c4a2708c2

View File

@ -31,13 +31,13 @@ import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class OIDCDiscoveryResponse(
val authorization_endpoint: String,
val check_session_iframe: String,
val end_session_endpoint: String,
val check_session_iframe: String?,
val end_session_endpoint: String?,
val issuer: String,
val registration_endpoint: String,
val registration_endpoint: String?,
val response_types_supported: List<String>,
val scopes_supported: List<String>,
val scopes_supported: List<String>?,
val token_endpoint: String,
val token_endpoint_auth_methods_supported: List<String>,
val userinfo_endpoint: String,
val token_endpoint_auth_methods_supported: List<String>?,
val userinfo_endpoint: String?,
)