AppBuilderExtensions.GetDataProtectionProvider Method (IAppBuilder)

 

Retrieves a data protection provider for the application.

Namespace:   Microsoft.Owin.Security.DataProtection
Assembly:  Microsoft.Owin.Security (in Microsoft.Owin.Security.dll)

Syntax

public static IDataProtectionProvider GetDataProtectionProvider(
    this IAppBuilder app
)
public:
[ExtensionAttribute]
static IDataProtectionProvider^ GetDataProtectionProvider(
    IAppBuilder^ app
)
static member GetDataProtectionProvider : 
        app:IAppBuilder -> IDataProtectionProvider
<ExtensionAttribute>
Public Shared Function GetDataProtectionProvider (
    app As IAppBuilder
) As IDataProtectionProvider

Parameters

  • app
    Type: Owin.IAppBuilder

    The application builder.

Return Value

Type: Microsoft.Owin.Security.DataProtection.IDataProtectionProvider

The IDataProtectionProvider object to get.

See Also

AppBuilderExtensions Class
Microsoft.Owin.Security.DataProtection Namespace

Return to top