Поделиться через


AppBuilderSecurityExtensions Class

 

Provides extensions methods for app.Property values that are only needed by implementations of authentication middleware.

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

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Security.AppBuilderSecurityExtensions

Syntax

public static class AppBuilderSecurityExtensions
[ExtensionAttribute]
public ref class AppBuilderSecurityExtensions abstract sealed 
[<AbstractClass>]
[<Sealed>]
type AppBuilderSecurityExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class AppBuilderSecurityExtensions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static GetDefaultSignInAsAuthenticationType(IAppBuilder)

Returns the previously set AuthenticationType that external sign in middleware should use when the browser navigates back to their return url.

System_CAPS_pubmethodSystem_CAPS_static SetDefaultSignInAsAuthenticationType(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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Owin.Security Namespace

Return to top