Skip to main content

components/username/convex.config

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.