withRedis

Method
📦 CommunityToolkit.Aspire.Hosting.Logto v13.6.1
interface LogtoResource {
// ... omitted for brevity
withRedis(redis: RedisResource): LogtoResource;
}

Signature

methodwithRedisbuilder
Configures the Logto resource to use a specified Redis resource for caching or other functionality.
withRedis(redis: RedisResource): LogtoResource
redisRedisResourceThe resource builder for the Redis resource to be used by the Logto resource.
LogtoResource

Applies to

This method applies to the following types: