WsFederationAuthenticationExtensions.UseWsFederationAuthentication Method

 

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

Overload List

Name Description
System_CAPS_pubmethodSystem_CAPS_static UseWsFederationAuthentication(IAppBuilder, String, String)

Adds the WsFederationAuthenticationMiddleware into the OWIN runtime.

System_CAPS_pubmethodSystem_CAPS_static UseWsFederationAuthentication(IAppBuilder, WsFederationAuthenticationOptions)

Adds the WsFederationAuthenticationMiddleware into the OWIN runtime.

See Also

WsFederationAuthenticationExtensions Class
Owin Namespace

Return to top

WsFederationAuthenticationExtensions.UseWsFederationAuthentication Method (IAppBuilder, String, String)

Adds the WsFederationAuthenticationMiddleware into the OWIN runtime.

Syntax

public static IAppBuilder UseWsFederationAuthentication(
    this IAppBuilder app,
    string wtrealm,
    string metadataAddress
)
public:
[ExtensionAttribute]
static IAppBuilder^ UseWsFederationAuthentication(
    IAppBuilder^ app,
    String^ wtrealm,
    String^ metadataAddress
)
static member UseWsFederationAuthentication : 
        app:IAppBuilder *
        wtrealm:string *
        metadataAddress:string -> IAppBuilder
<ExtensionAttribute>
Public Shared Function UseWsFederationAuthentication (
    app As IAppBuilder,
    wtrealm As String,
    metadataAddress As String
) As IAppBuilder

Parameters

  • app
    Type: Owin.IAppBuilder

    The IAppBuilder passed to the configuration method

  • metadataAddress
    Type: System.String

    The address to retrieve the wsFederation metadata from.

Return Value

Type: Owin.IAppBuilder

The updated IAppBuilder

Return to top

WsFederationAuthenticationExtensions.UseWsFederationAuthentication Method (IAppBuilder, WsFederationAuthenticationOptions)

Adds the WsFederationAuthenticationMiddleware into the OWIN runtime.

Syntax

public static IAppBuilder UseWsFederationAuthentication(
    this IAppBuilder app,
    WsFederationAuthenticationOptions wsFederationOptions
)
public:
[ExtensionAttribute]
static IAppBuilder^ UseWsFederationAuthentication(
    IAppBuilder^ app,
    WsFederationAuthenticationOptions^ wsFederationOptions
)
static member UseWsFederationAuthentication : 
        app:IAppBuilder *
        wsFederationOptions:WsFederationAuthenticationOptions -> IAppBuilder
<ExtensionAttribute>
Public Shared Function UseWsFederationAuthentication (
    app As IAppBuilder,
    wsFederationOptions As WsFederationAuthenticationOptions
) As IAppBuilder

Parameters

  • app
    Type: Owin.IAppBuilder

    The IAppBuilder passed to the configuration method

Return Value

Type: Owin.IAppBuilder

The updated IAppBuilder

Return to top