WsFederationAuthenticationExtensions.UseWsFederationAuthentication Method
Namespace: Owin
Assembly: Microsoft.Owin.Security.WsFederation (in Microsoft.Owin.Security.WsFederation.dll)
Overload List
Name | Description | |
---|---|---|
![]() ![]() |
UseWsFederationAuthentication(IAppBuilder, String, String) | Adds the WsFederationAuthenticationMiddleware into the OWIN runtime. |
![]() ![]() |
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.IAppBuilderThe IAppBuilder passed to the configuration method
wtrealm
Type: System.StringThe application identifier.
metadataAddress
Type: System.StringThe 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.IAppBuilderThe IAppBuilder passed to the configuration method
wsFederationOptions
Type: Microsoft.Owin.Security.WsFederation.WsFederationAuthenticationOptionsWsFederationAuthenticationOptions configuration options
Return Value
Type: Owin.IAppBuilder
The updated IAppBuilder
Return to top