internal

package
v0.10.8 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: Apache-2.0 Imports: 24 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
	Config       *config.UserAPI

	DisableTLSValidation bool
	// AppServices is the list of all registered AS
	AppServices []config.ApplicationService
	KeyAPI      keyapi.UserKeyAPI
	RSAPI       rsapi.UserRoomserverAPI
	PgClient    pushgateway.Client
	Cfg         *config.UserAPI
}

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 (*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

Jump to

Keyboard shortcuts

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