LogtoResource.WithRedis

Method
📦 CommunityToolkit.Aspire.Hosting.Logto v13.6.1
type LogtoResource interface {
// ... 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

The resource builder configured with the specified Redis resource.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: