Project
The Project object contains the information and configuration of a project, such as the name, description, and enabled authentication methods.
Each Stack app corresponds to a project. You can obtain its Project object by calling stackApp.getProject()
or stackApp.useProject()
.
Table of Contents
The unique ID of the project as a string.
declare const id: string;The display name of the project as a string.
declare const displayName: string;The configuration settings for the project.
Properties
signUpEnabledbooleanIndicates if sign-up is enabled for the project.
credentialEnabledbooleanSpecifies if credential-based authentication is enabled for the project.
magicLinkEnabledbooleanStates whether magic link authentication is enabled for the project.
clientTeamCreationEnabledbooleanDetermines if client-side team creation is permitted within the project.
clientUserDeletionEnabledbooleanIndicates if client-side user deletion is enabled for the project.
declare const config: {
signUpEnabled: boolean;
credentialEnabled: boolean;
magicLinkEnabled: boolean;
clientTeamCreationEnabled: boolean;
clientUserDeletionEnabled: boolean;
};