AppBuilderSecurityExtensions.SetDefaultSignInAsAuthenticationType Method (IAppBuilder, String)

 

Called by middleware to change the name of the AuthenticationType that external middleware should use when the browser navigates back to their return url.

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

Syntax

public static void SetDefaultSignInAsAuthenticationType(
    this IAppBuilder app,
    string authenticationType
)
public:
[ExtensionAttribute]
static void SetDefaultSignInAsAuthenticationType(
    IAppBuilder^ app,
    String^ authenticationType
)
static member SetDefaultSignInAsAuthenticationType : 
        app:IAppBuilder *
        authenticationType:string -> unit
<ExtensionAttribute>
Public Shared Sub SetDefaultSignInAsAuthenticationType (
    app As IAppBuilder,
    authenticationType As String
)

Parameters

  • app
    Type: Owin.IAppBuilder

    App builder passed to the application startup code

  • authenticationType
    Type: System.String

    AuthenticationType that external middleware should sign in as.

See Also

AppBuilderSecurityExtensions Class
Microsoft.Owin.Security Namespace

Return to top