AppBuilderExtensions.SetDataProtectionProvider Method (IAppBuilder, IDataProtectionProvider)
Sets a data protection provider.
Namespace: Microsoft.Owin.Security.DataProtection
Assembly: Microsoft.Owin.Security (in Microsoft.Owin.Security.dll)
Syntax
public static void SetDataProtectionProvider(
this IAppBuilder app,
IDataProtectionProvider dataProtectionProvider
)
public:
[ExtensionAttribute]
static void SetDataProtectionProvider(
IAppBuilder^ app,
IDataProtectionProvider^ dataProtectionProvider
)
static member SetDataProtectionProvider :
app:IAppBuilder *
dataProtectionProvider:IDataProtectionProvider -> unit
<ExtensionAttribute>
Public Shared Sub SetDataProtectionProvider (
app As IAppBuilder,
dataProtectionProvider As IDataProtectionProvider
)
Parameters
app
Type: Owin.IAppBuilderThe application builder.
dataProtectionProvider
Type: Microsoft.Owin.Security.DataProtection.IDataProtectionProviderThe data protection provider to set.
See Also
AppBuilderExtensions Class
Microsoft.Owin.Security.DataProtection Namespace
Return to top