OpenIdToken

@JsonClass(generateAdapter = true)
data class OpenIdToken(@Json(name = "access_token") val accessToken: String, @Json(name = "token_type") val tokenType: String, @Json(name = "matrix_server_name") val matrixServerName: String, @Json(name = "expires_in") val expiresIn: Int)

Constructors

Link copied to clipboard
constructor(@Json(name = "access_token") accessToken: String, @Json(name = "token_type") tokenType: String, @Json(name = "matrix_server_name") matrixServerName: String, @Json(name = "expires_in") expiresIn: Int)

Properties

Link copied to clipboard

Required. An access token the consumer may use to verify the identity of the person who generated the token. This is given to the federation API GET /openid/userinfo to verify the user's identity.

Link copied to clipboard

Required. The number of seconds before this token expires and a new one must be generated.

Link copied to clipboard

Required. The homeserver domain the consumer should use when attempting to verify the user's identity.

Link copied to clipboard

Required. The string "Bearer".