authtypes

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2022 License: Apache-2.0 Imports: 0 Imported by: 32

Documentation

Index

Constants

View Source
const (
	LoginTypePassword           = "m.login.password"
	LoginTypeDummy              = "m.login.dummy"
	LoginTypeSharedSecret       = "org.matrix.login.shared_secret"
	LoginTypeRecaptcha          = "m.login.recaptcha"
	LoginTypeApplicationService = "m.login.application_service"
)

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 Membership

type Membership struct {
	Localpart string
	RoomID    string
	EventID   string
}

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"`
	DisplayName string `json:"display_name"`
	AvatarURL   string `json:"avatar_url"`
}

Profile represents the profile for a Matrix account.

type ThreePID

type ThreePID struct {
	Address string `json:"address"`
	Medium  string `json:"medium"`
}

ThreePID represents a third-party identifier

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL