AppBuilderExtensions.UseExternalSignInCookie Method (IAppBuilder, String)
Configures the application to use OWIN middleware based cookie authentication for external identities.
Namespace: Owin
Assembly: Microsoft.AspNet.Identity.Owin (in Microsoft.AspNet.Identity.Owin.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Sub UseExternalSignInCookie ( _
app As IAppBuilder, _
externalAuthenticationType As String _
)
'Usage
Dim app As IAppBuilder
Dim externalAuthenticationType As String
app.UseExternalSignInCookie(externalAuthenticationType)
public static void UseExternalSignInCookie(
this IAppBuilder app,
string externalAuthenticationType
)
[ExtensionAttribute]
public:
static void UseExternalSignInCookie(
IAppBuilder^ app,
String^ externalAuthenticationType
)
static member UseExternalSignInCookie :
app:IAppBuilder *
externalAuthenticationType:string -> unit
public static function UseExternalSignInCookie(
app : IAppBuilder,
externalAuthenticationType : String
)
Parameters
- app
Type: IAppBuilder
The application builder.
- externalAuthenticationType
Type: System.String
The external authentication type.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IAppBuilder. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.108) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.108).
See Also
Reference
UseExternalSignInCookie Overload