# Packages
No description provided by the author
# Functions
ExtractAccessToken from a request, or return an error detailing what went wrong.
GenerateAccessToken creates a new access token.
LoginFromJSONReader performs authentication given a login request body reader and some context.
No description provided by the author
VerifyUserFromRequest authenticates the HTTP request, on success returns Device of the requester.
# Structs
No description provided by the author
Login represents the shared fields used in all forms of login/sudo endpoints.
LoginIdentifier represents identifier types https://matrix.org/docs/spec/client_server/r0.6.1#identifier-types.
LoginTypeApplicationService describes how to authenticate as an application service.
LoginTypePassword implements https://matrix.org/docs/spec/client_server/r0.6.1#password-based.
LoginTypeToken describes how to authenticate with a login token.
No description provided by the author
UserInteractive checks that the user is who they claim to be, via a UI auth.
# Interfaces
AccountDatabase represents an account database.
DeviceDatabase represents a device database.
Type represents an auth type https://matrix.org/docs/spec/client_server/r0.6.1#authentication-types.
UserInternalAPIForLogin contains the aspects of UserAPI required for logging in.
# Type aliases
No description provided by the author
No description provided by the author