DataProtectionAdvancedExtensions.ToTimeLimitedDataProtector Method        
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts an IDataProtector into an ITimeLimitedDataProtector so that payloads can be protected with a finite lifetime.
public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::DataProtection::ITimeLimitedDataProtector ^ ToTimeLimitedDataProtector(Microsoft::AspNetCore::DataProtection::IDataProtector ^ protector);
	public static Microsoft.AspNetCore.DataProtection.ITimeLimitedDataProtector ToTimeLimitedDataProtector(this Microsoft.AspNetCore.DataProtection.IDataProtector protector);
	static member ToTimeLimitedDataProtector : Microsoft.AspNetCore.DataProtection.IDataProtector -> Microsoft.AspNetCore.DataProtection.ITimeLimitedDataProtector
	<Extension()>
Public Function ToTimeLimitedDataProtector (protector As IDataProtector) As ITimeLimitedDataProtector
	Parameters
- protector
 - IDataProtector
 
The IDataProtector to convert to a time-limited protector.