components/username/convex.config
For AI agents: see llms.txt for the complete documentation index. Markdown versions are available by adding .md to a page URL or requesting Accept: text/markdown.
Variables
default
const default: ComponentDefinition<any, {
}>;
The username component.
The component owns the mapping between a username and an opaque app userId. It
stores one username for each user, and makes sure that no two users have the
same username.
The component is not a sign-in method. It knows nothing about credentials or
sessions. A sign-in method (for example usernamePassword) uses it to find the
user that a username identifies.
The component has no configuration.