Documentation
¶
Index ¶
- type Issuer
- func (i *Issuer) DeactivateAccount(ctx context.Context, localpart string) error
- func (i *Issuer) EnsureMatrixSession(ctx context.Context, userID, displayName, avatarURL, requestedDeviceID string, ...) (string, error)
- func (i *Issuer) EnsureNativeGroupAgentIdentity(ctx context.Context, mxid string) error
- func (i *Issuer) UpdateMatrixProfile(ctx context.Context, userID, displayName, avatarURL string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Issuer ¶
type Issuer struct {
// contains filtered or unexported fields
}
func NewIssuer ¶
func NewIssuer(userAPI userapi.UserInternalAPI, serverName spec.ServerName, defaultDeviceID, deviceDisplayName string) *Issuer
func (*Issuer) DeactivateAccount ¶
func (*Issuer) EnsureMatrixSession ¶
func (*Issuer) EnsureNativeGroupAgentIdentity ¶ added in v1.1.72
EnsureNativeGroupAgentIdentity creates a passwordless service account, not a user session. Never repurpose an existing user or another appservice's account: old devices or passwords could otherwise impersonate Native Ying.