Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

CommunityToolkit.Aspire.Hosting.Logto

📦 CommunityToolkit.Aspire.Hosting.Logtov13.6.1
Import pathapphost/modules/aspire
14Functions
3Types

Handles

Functions

LogtoResource

methodWithAdminEndpointbuilder
Configures the specified Logto resource to include an administrative endpoint with the given URL.
WithAdminEndpoint(url string) LogtoResource
methodWithDatabasebuilder
Configures the Logto resource to connect to the specified PostgreSQL database.
WithDatabase(postgres PostgresServerResource, options ...*WithDatabaseOptions) LogtoResource
methodWithDatabaseSeedingbuilder
Starts Logto by running the database seed command before the application process.
WithDatabaseSeeding() LogtoResource
methodWithDataBindMountbuilder
Configures the Logto resource to use a data bind mount with the specified source directory.
WithDataBindMount(source string) LogtoResource
methodWithDataVolumebuilder
Configures the Logto resource with a data volume, allowing persistent storage.
WithDataVolume(options ...*WithDataVolumeOptions) LogtoResource
methodWithDeprecationTracingbuilder
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.
WithDeprecationTracing() LogtoResource
methodWithDisableAdminConsolebuilder
Configures the Logto resource to disable the Admin Console port.
WithDisableAdminConsole(disable bool) LogtoResource
methodWithNodeEnvbuilder
Configures the Logto resource to use the specified Node.js environment value by setting the corresponding environment variable.
WithNodeEnv(env string) LogtoResource
methodWithRedisbuilder
Configures the Logto resource to use a specified Redis resource for caching or other functionality.
WithRedis(redis RedisResource) LogtoResource
methodWithResourcePortbuilder
Configures HTTP endpoints for the given Logto resource builder with specified port settings.
WithResourcePort(options ...*WithResourcePortOptions) LogtoResource
methodWithSecretVaultbuilder
Configures the Logto resource to use a secret vault with the specified key encryption key (KEK).
WithSecretVault(secretVaultKek string) LogtoResource
methodWithSensitiveUsernamebuilder
Specifies whether the username is case-sensitive.
WithSensitiveUsername(sensitiveUsername bool) LogtoResource
methodWithTrustProxyHeaderbuilder
Configures the Logto resource to enable or disable the trust proxy header behavior.
WithTrustProxyHeader(trustProxyHeader bool) LogtoResource