package
0.0.0-20241025030232-2154053700bb
Repository: https://github.com/cipherblock-chat/chat.git
Documentation: pkg.go.dev

# Functions

CheckAndProcessInvite analyses the body of an incoming membership request.
CheckAssociation checks the status of an ongoing association validation on an identity server.
CreateSession creates a session on an identity server.
PublishAssociation publishes a validated association between a third-party identifier and a Matrix ID.

# Variables

ErrMissingParameter is the error raised if a request for 3PID invite has an incomplete body.
ErrNotTrusted is the error raised if an identity server isn't in the list of trusted servers in the configuration file.

# Structs

Credentials represents the "ThreePidCredentials" structure defined at https://matrix.org/docs/spec/client_server/r0.2.0.html#post-matrix-client-r0-account-3pid.
EmailAssociationCheckRequest represents the request defined at https://matrix.org/docs/spec/client_server/r0.2.0.html#post-matrix-client-r0-account-3pid.
EmailAssociationRequest represents the request defined at https://matrix.org/docs/spec/client_server/r0.2.0.html#post-matrix-client-r0-register-email-requesttoken.
MembershipRequest represents the body of an incoming POST request on /rooms/{roomID}/(join|kick|ban|unban|leave|invite).