Documentation ¶
Index ¶
Constants ¶
View Source
const ( LoginTypePassword = "m.login.password" LoginTypeDummy = "m.login.dummy" LoginTypeRecaptcha = "m.login.recaptcha" LoginTypeApplicationService = "m.login.application_service" LoginTypeToken = "m.login.token" )
The relevant login types implemented in Dendrite
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flow ¶
type Flow struct {
Stages []LoginType `json:"stages"`
}
Flow represents one possible way that the client can authenticate a request. https://matrix.org/docs/spec/client_server/r0.3.0.html#user-interactive-authentication-api
type FullyQualifiedProfile ¶
type FullyQualifiedProfile struct { UserID string `json:"user_id"` DisplayName string `json:"display_name"` AvatarURL string `json:"avatar_url"` }
FullyQualifiedProfile represents the profile for a Matrix account.
type LoginType ¶
type LoginType string
LoginType are specified by http://matrix.org/docs/spec/client_server/r0.2.0.html#login-types
type Membership ¶
Membership represents the relationship between a user and a room they're a member of
Click to show internal directories.
Click to hide internal directories.