CommunityToolkit.Aspire.Hosting.Logto
📦 CommunityToolkit.Aspire.Hosting.Logtov13.5.014Functions
1Types
1 types and 5 members
Types
Functions
method
addLogtobuilderAdds a Logto resource to the Aspire distributed application by configuring it with the specified name, associated PostgreSQL server resource, and database name.
addLogto(name: string, postgres: PostgresServerResource, databaseName?: string, port?: number, adminPort?: number): LogtoResourcemethod
withAdminEndpointbuilderConfigures the specified Logto resource to include an administrative endpoint with the given URL.
withAdminEndpoint(url: string): LogtoResourcemethod
withDatabasebuilderConfigures the Logto resource to connect to the specified PostgreSQL database.
withDatabase(postgres: PostgresServerResource, databaseName?: string): LogtoResourcemethod
withDatabaseSeedingbuilderStarts Logto by running the database seed command before the application process.
withDatabaseSeeding(): LogtoResourcemethod
withDataBindMountbuilderConfigures the Logto resource to use a data bind mount with the specified source directory.
withDataBindMount(source: string): LogtoResourcemethod
withDataVolumebuilderConfigures the Logto resource with a data volume, allowing persistent storage.
withDataVolume(name?: string): LogtoResourcemethod
withDeprecationTracingbuilderEnables Node.js deprecation tracing for the Logto by setting the NODE_OPTIONS environment variable to '--trace-deprecation'. This allows stack traces to be printed for deprecated API usage.
withDeprecationTracing(): LogtoResourcemethod
withDisableAdminConsolebuilderConfigures the Logto resource to disable the Admin Console port.
withDisableAdminConsole(disable: boolean): LogtoResourcemethod
withNodeEnvbuilderConfigures the Logto resource to use the specified Node.js environment value by setting the corresponding environment variable.
withNodeEnv(env: string): LogtoResourcemethod
withRedisbuilderConfigures the Logto resource to use a specified Redis resource for caching or other functionality.
withRedis(redis: RedisResource): LogtoResourcemethod
withResourcePortbuilderConfigures HTTP endpoints for the given Logto resource builder with specified port settings.
withResourcePort(port?: number, adminPort?: number): LogtoResourcemethod
withSecretVaultbuilderConfigures the Logto resource to use a secret vault with the specified key encryption key (KEK).
withSecretVault(secretVaultKek: string): LogtoResourcemethod
withSensitiveUsernamebuilderSpecifies whether the username is case-sensitive.
withSensitiveUsername(sensitiveUsername: boolean): LogtoResourcemethod
withTrustProxyHeaderbuilderConfigures the Logto resource to enable or disable the trust proxy header behavior.
withTrustProxyHeader(trustProxyHeader: boolean): LogtoResource