package
0.0.0-20241025030232-2154053700bb
Repository: https://github.com/cipherblock-chat/chat.git
Documentation: pkg.go.dev
# Constants
AccountTypeAdmin indicates this is an admin account.
AccountTypeAppService indicates this is an appservice account.
AccountTypeGuest indicates this is a guest account.
AccountTypeUser indicates this is a user account.
ConflictAbort will reject the request with ErrorConflict.
ConflictUpdate will update matching records returning no error.
NOTSPEC: The current spec says "SHOULD be limited to around five seconds".
No description provided by the author
No description provided by the author
# Structs
Account represents a Matrix account on this home server.
Device represents a client's device (mobile, web, etc).
ErrorConflict is an error indicating that there was a conflict which resulted in the request being aborted.
ErrorForbidden is an error indicating that the supplied access token is forbidden.
InputAccountDataRequest is the request for InputAccountData.
InputAccountDataResponse is the response for InputAccountData.
Internal KeyBackupData for passing to/from the storage layer.
KeyBackupData in https://spec.matrix.org/unstable/client-server-api/#get_matrixclientr0room_keyskeysroomidsessionid.
LoginTokenData is the data that can be retrieved given a login token.
LoginTokenMetadata contains metadata created and maintained by the User API.
No description provided by the author
OpenIDToken represents an OpenID token.
OpenIDTokenInfo represents the attributes associated with an issued OpenID token.
PerformAccountCreationRequest is the request for PerformAccountCreation.
PerformAccountCreationResponse is the response for PerformAccountCreation.
PerformAccountDeactivationRequest is the request for PerformAccountDeactivation.
PerformAccountDeactivationResponse is the response for PerformAccountDeactivation.
PerformDeviceCreationRequest is the request for PerformDeviceCreation.
PerformDeviceCreationResponse is the response for PerformDeviceCreation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PerformLastSeenUpdateRequest is the request for PerformLastSeenUpdate.
PerformLastSeenUpdateResponse is the response for PerformLastSeenUpdate.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PerformOpenIDTokenCreationRequest is the request for PerformOpenIDTokenCreation.
PerformOpenIDTokenCreationResponse is the response for PerformOpenIDTokenCreation.
PerformAccountCreationRequest is the request for PerformAccountCreation.
PerformAccountCreationResponse is the response for PerformAccountCreation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Pusher represents a push notification subscriber.
QueryAccessTokenRequest is the request for QueryAccessToken.
QueryAccessTokenResponse is the response for QueryAccessToken.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
QueryAccountDataRequest is the request for QueryAccountData.
QueryAccountDataResponse is the response for QueryAccountData.
QueryDeviceInfosRequest is the request to QueryDeviceInfos.
QueryDeviceInfosResponse is the response to QueryDeviceInfos.
QueryDevicesRequest is the request for QueryDevices.
QueryDevicesResponse is the response for QueryDevices.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
QueryOpenIDTokenRequest is the request for QueryOpenIDToken.
QueryOpenIDTokenResponse is the response for QueryOpenIDToken.
QueryProfileRequest is the request for QueryProfile.
QueryProfileResponse is the response for QueryProfile.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
QuerySearchProfilesRequest is the request for QueryProfile.
QuerySearchProfilesResponse is the response for QuerySearchProfilesRequest.
No description provided by the author
No description provided by the author
UserInfo is for returning information about the user an OpenID token was issued for.
UserInternalAPITrace wraps a RoomserverInternalAPI and logs the complete request/response/error.
# Interfaces
api functions required by the appservice api.
api functions required by the client api.
api functions required by the federation api.
No description provided by the author
No description provided by the author
api functions required by the media api.
common function for creating authenticated endpoints (used in client/media/sync api).
custom api functions required by pinecone / p2p demos.
No description provided by the author
api functions required by the sync api.
UserInternalAPI is the internal API for information about users and devices.
No description provided by the author
# Type aliases
AccountType is an enum representing the kind of account.
Conflict is an enum representing what to do when encountering conflicting when creating profiles/devices.
No description provided by the author
No description provided by the author