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" LoginTypeSSO = "m.login.sso" )
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
type Profile ¶
type Profile struct { Localpart string `json:"local_part"` ServerName string `json:"server_name,omitempty"` // NOTSPEC: only set by Pinecone user provider DisplayName string `json:"display_name"` AvatarURL string `json:"avatar_url"` }
Profile represents the profile for a Matrix account.
Click to show internal directories.
Click to hide internal directories.