GetOIDCRequestToken

@Serializable
data class GetOIDCRequestToken(val userId: UserId, val asUserId: UserId? = null) : MatrixEndpoint<Unit, GetOIDCRequestToken.Response>

See also

Constructors

Link copied to clipboard
constructor(userId: UserId, asUserId: UserId? = null)

Types

Link copied to clipboard
@Serializable
data class Response(val accessToken: String, val expiresIn: Long, val matrixServerName: String, val tokenType: String = "Bearer")

Properties

Link copied to clipboard
@SerialName(value = "user_id")
val asUserId: UserId? = null
Link copied to clipboard
open val requestContentType: ContentType?
Link copied to clipboard
open val responseContentType: ContentType?
Link copied to clipboard
@SerialName(value = "userId")
val userId: UserId

Functions

Link copied to clipboard
open fun requestSerializerBuilder(mappings: EventContentSerializerMappings, json: Json, value: Unit?): KSerializer<Unit>?
Link copied to clipboard
open fun responseSerializerBuilder(mappings: EventContentSerializerMappings, json: Json, value: GetOIDCRequestToken.Response?): KSerializer<GetOIDCRequestToken.Response>?