CommunityToolkit.Aspire.Hosting.Logto
📦 CommunityToolkit.Aspire.Hosting.Logtov13.6.1Import path
apphost/modules/aspire14Functions
3Types
3 types, 14 functions and 5 members
Handles
Functions
LogtoResource
method
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, options ...*WithDatabaseOptions) 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(options ...*WithDataVolumeOptions) 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 bool) 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(options ...*WithResourcePortOptions) 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 bool) LogtoResourcemethod
WithTrustProxyHeaderbuilderConfigures the Logto resource to enable or disable the trust proxy header behavior.
WithTrustProxyHeader(trustProxyHeader bool) LogtoResource