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

Merge pull request #392 from owncloud/fix/oidc_no_registration_endpoint

Make some fields not mandatory in discovery response
This commit is contained in:
Abel García de Prada 2021-04-22 13:48:22 +02:00 committed by GitHub
commit ccaf5a8e0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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?,
)