internal

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserInternalAPI

type UserInternalAPI struct {
	DB           storage.Database
	SyncProducer *producers.SyncAPI

	DisableTLSValidation bool
	ServerName           gomatrixserverlib.ServerName
	// AppServices is the list of all registered AS
	AppServices []config.ApplicationService
	KeyAPI      keyapi.UserKeyAPI
}

func (*UserInternalAPI) InputAccountData

func (*UserInternalAPI) PerformAccountCreation

func (*UserInternalAPI) PerformAccountDeactivation

PerformAccountDeactivation deactivates the user's account, removing all ability for the user to login again.

func (*UserInternalAPI) PerformDeviceCreation

func (*UserInternalAPI) PerformDeviceDeletion

func (*UserInternalAPI) PerformDeviceUpdate

func (*UserInternalAPI) PerformForgetThreePID added in v0.7.0

func (a *UserInternalAPI) PerformForgetThreePID(ctx context.Context, req *api.PerformForgetThreePIDRequest, res *struct{}) error

func (*UserInternalAPI) PerformKeyBackup added in v0.5.0

func (*UserInternalAPI) PerformLastSeenUpdate added in v0.3.1

func (*UserInternalAPI) PerformLoginTokenCreation added in v0.6.3

PerformLoginTokenCreation creates a new login token and associates it with the provided data.

func (*UserInternalAPI) PerformLoginTokenDeletion added in v0.6.3

PerformLoginTokenDeletion ensures the token doesn't exist.

func (*UserInternalAPI) PerformOpenIDTokenCreation added in v0.4.0

PerformOpenIDTokenCreation creates a new token that a relying party uses to authenticate a user

func (*UserInternalAPI) PerformPasswordUpdate

func (*UserInternalAPI) PerformPushRulesPut added in v0.6.5

func (a *UserInternalAPI) PerformPushRulesPut(
	ctx context.Context,
	req *api.PerformPushRulesPutRequest,
	_ *struct{},
) error

func (*UserInternalAPI) PerformPusherDeletion added in v0.6.5

func (a *UserInternalAPI) PerformPusherDeletion(ctx context.Context, req *api.PerformPusherDeletionRequest, res *struct{}) error

func (*UserInternalAPI) PerformPusherSet added in v0.6.5

func (a *UserInternalAPI) PerformPusherSet(ctx context.Context, req *api.PerformPusherSetRequest, res *struct{}) error

func (*UserInternalAPI) PerformSaveThreePIDAssociation added in v0.7.0

func (a *UserInternalAPI) PerformSaveThreePIDAssociation(ctx context.Context, req *api.PerformSaveThreePIDAssociationRequest, res *struct{}) error

func (*UserInternalAPI) QueryAccessToken

func (*UserInternalAPI) QueryAccountAvailability added in v0.7.0

func (*UserInternalAPI) QueryAccountByPassword added in v0.7.0

func (*UserInternalAPI) QueryAccountData

func (*UserInternalAPI) QueryDeviceInfos

func (*UserInternalAPI) QueryDevices

func (*UserInternalAPI) QueryKeyBackup added in v0.5.0

func (*UserInternalAPI) QueryLocalpartForThreePID added in v0.7.0

func (*UserInternalAPI) QueryLoginToken added in v0.6.3

QueryLoginToken returns the data associated with a login token. If the token is not valid, success is returned, but res.Data == nil.

func (*UserInternalAPI) QueryNotifications added in v0.6.5

func (*UserInternalAPI) QueryNumericLocalpart added in v0.7.0

func (a *UserInternalAPI) QueryNumericLocalpart(ctx context.Context, res *api.QueryNumericLocalpartResponse) error

func (*UserInternalAPI) QueryOpenIDToken added in v0.4.0

QueryOpenIDToken validates that the OpenID token was issued for the user, the replying party uses this for validation

func (*UserInternalAPI) QueryProfile

func (*UserInternalAPI) QueryPushRules added in v0.6.5

func (*UserInternalAPI) QueryPushers added in v0.6.5

func (*UserInternalAPI) QuerySearchProfiles

func (*UserInternalAPI) QueryThreePIDsForLocalpart added in v0.7.0

func (*UserInternalAPI) SetAvatarURL added in v0.7.0

func (*UserInternalAPI) SetDisplayName added in v0.7.0

func (a *UserInternalAPI) SetDisplayName(ctx context.Context, req *api.PerformUpdateDisplayNameRequest, _ *struct{}) error

Jump to

Keyboard shortcuts

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