AuthMetadata

@JsonClass(generateAdapter = true)
data class AuthMetadata(@Json(name = "issuer") val issuer: String, @Json(name = "account_management_uri") val accountManagementUri: String?, @Json(name = "account_management_actions_supported") val accountManagementActionsSupported: List<String>?)

This is a subset of the server metadata discovery for the OAuth 2.0 API https://spec.matrix.org/v1.16/client-server-api/#get_matrixclientv1auth_metadata

Includes the values from MSC4191: https://github.com/matrix-org/matrix-spec-proposals/pull/4191

{
    "issuer": "https://id.server.org",
    "account_management_uri": "https://id.server.org/my-account",
    "account_management_actions_supported": ["org.matrix.profile", "org.matrix.devices_list"],
}

.

Constructors

Link copied to clipboard
constructor(@Json(name = "issuer") issuer: String, @Json(name = "account_management_uri") accountManagementUri: String?, @Json(name = "account_management_actions_supported") accountManagementActionsSupported: List<String>?)

Properties

Link copied to clipboard
Link copied to clipboard