AppBuilderSecurityExtensions.GetDefaultSignInAsAuthenticationType Method (IAppBuilder)


Returns the previously set AuthenticationType that external sign in 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)


public static string GetDefaultSignInAsAuthenticationType(
    this IAppBuilder app
static String^ GetDefaultSignInAsAuthenticationType(
    IAppBuilder^ app
static member GetDefaultSignInAsAuthenticationType : 
        app:IAppBuilder -> string
Public Shared Function GetDefaultSignInAsAuthenticationType (
    app As IAppBuilder
) As String


  • app
    Type: Owin.IAppBuilder

    App builder passed to the application startup code

Return Value

Type: System.String

Returns String.

See Also

AppBuilderSecurityExtensions Class
Microsoft.Owin.Security Namespace

Return to top