Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.IAppBuilderApp builder passed to the application startup code
authenticationType
Type: System.StringAuthenticationType that external middleware should sign in as.
See Also
AppBuilderSecurityExtensions Class
Microsoft.Owin.Security Namespace
Return to top