# CommunityToolkit.Aspire.Hosting.Logto

- Module: `CommunityToolkit.Aspire.Hosting.Logto`
- Version: `13.5.0`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/tree/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1)
- Functions: `14`
- Types: `1`

## Types

- [LogtoResource](/reference/api/typescript/communitytoolkit.aspire.hosting.logto/logtoresource.md) -- `handle` - 18 members -- Represents a containerized resource specific to Logto that extends the base functionality of container resources by providing additional endpoint and connection string management.

## Functions

- [addLogto](/reference/api/typescript/communitytoolkit.aspire.hosting.logto/addlogto.md) -- `method` -- Adds a Logto resource to the Aspire distributed application by configuring it with the specified name, associated PostgreSQL server resource, and database name.
- [withAdminEndpoint](/reference/api/typescript/communitytoolkit.aspire.hosting.logto/withadminendpoint.md) -- `method` -- Configures the specified Logto resource to include an administrative endpoint with the given URL.
- [withDatabase](/reference/api/typescript/communitytoolkit.aspire.hosting.logto/withdatabase.md) -- `method` -- Configures the Logto resource to connect to the specified PostgreSQL database.
- [withDatabaseSeeding](/reference/api/typescript/communitytoolkit.aspire.hosting.logto/withdatabaseseeding.md) -- `method` -- Starts Logto by running the database seed command before the application process.
- [withDataBindMount](/reference/api/typescript/communitytoolkit.aspire.hosting.logto/withdatabindmount.md) -- `method` -- Configures the Logto resource to use a data bind mount with the specified source directory.
- [withDataVolume](/reference/api/typescript/communitytoolkit.aspire.hosting.logto/withdatavolume.md) -- `method` -- Configures the Logto resource with a data volume, allowing persistent storage.
- [withDeprecationTracing](/reference/api/typescript/communitytoolkit.aspire.hosting.logto/withdeprecationtracing.md) -- `method` -- Enables 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.
- [withDisableAdminConsole](/reference/api/typescript/communitytoolkit.aspire.hosting.logto/withdisableadminconsole.md) -- `method` -- Configures the Logto resource to disable the Admin Console port.
- [withNodeEnv](/reference/api/typescript/communitytoolkit.aspire.hosting.logto/withnodeenv.md) -- `method` -- Configures the Logto resource to use the specified Node.js environment value by setting the corresponding environment variable.
- [withRedis](/reference/api/typescript/communitytoolkit.aspire.hosting.logto/withredis.md) -- `method` -- Configures the Logto resource to use a specified Redis resource for caching or other functionality.
- [withResourcePort](/reference/api/typescript/communitytoolkit.aspire.hosting.logto/withresourceport.md) -- `method` -- Configures HTTP endpoints for the given Logto resource builder with specified port settings.
- [withSecretVault](/reference/api/typescript/communitytoolkit.aspire.hosting.logto/withsecretvault.md) -- `method` -- Configures the Logto resource to use a secret vault with the specified key encryption key (KEK).
- [withSensitiveUsername](/reference/api/typescript/communitytoolkit.aspire.hosting.logto/withsensitiveusername.md) -- `method` -- Specifies whether the username is case-sensitive.
- [withTrustProxyHeader](/reference/api/typescript/communitytoolkit.aspire.hosting.logto/withtrustproxyheader.md) -- `method` -- Configures the Logto resource to enable or disable the trust proxy header behavior.
