CookieResponseSignInContext Constructor (IOwinContext, CookieAuthenticationOptions, String, ClaimsIdentity, AuthenticationProperties, CookieOptions)
Creates a new instance of the context object.
Namespace: Microsoft.Owin.Security.Cookies
Assembly: Microsoft.Owin.Security.Cookies (in Microsoft.Owin.Security.Cookies.dll)
Syntax
public CookieResponseSignInContext(
IOwinContext context,
CookieAuthenticationOptions options,
string authenticationType,
ClaimsIdentity identity,
AuthenticationProperties properties,
CookieOptions cookieOptions
)
public:
CookieResponseSignInContext(
IOwinContext^ context,
CookieAuthenticationOptions^ options,
String^ authenticationType,
ClaimsIdentity^ identity,
AuthenticationProperties^ properties,
CookieOptions^ cookieOptions
)
new :
context:IOwinContext *
options:CookieAuthenticationOptions *
authenticationType:string *
identity:ClaimsIdentity *
properties:AuthenticationProperties *
cookieOptions:CookieOptions -> CookieResponseSignInContext
Public Sub New (
context As IOwinContext,
options As CookieAuthenticationOptions,
authenticationType As String,
identity As ClaimsIdentity,
properties As AuthenticationProperties,
cookieOptions As CookieOptions
)
Parameters
context
Type: Microsoft.Owin.IOwinContextThe OWIN request context.
options
Type: Microsoft.Owin.Security.Cookies.CookieAuthenticationOptionsThe middleware options.
authenticationType
Type: System.StringInitializes AuthenticationType property.
identity
Type: System.Security.Claims.ClaimsIdentityInitializes Identity property.
properties
Type: Microsoft.Owin.Security.AuthenticationPropertiesInitializes Extra property.
cookieOptions
Type: Microsoft.Owin.CookieOptionsInitializes options for the authentication cookie.
See Also
CookieResponseSignInContext Class
Microsoft.Owin.Security.Cookies Namespace
Return to top