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