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.
Returns
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for