withSessionLifetime
Method
interface ContainerResource { // ... omitted for brevity withSessionLifetime(): IResource;}Signature
method
withSessionLifetime builderConfigures a resource to use a session lifetime.
withSessionLifetime(): IResourceReturns
IResource Applies to
This method applies to the following types: