CookieExtensions.AddCookie CookieExtensions.AddCookie CookieExtensions.AddCookie CookieExtensions.AddCookie Method

Definition

Overloads

AddCookie(AuthenticationBuilder) AddCookie(AuthenticationBuilder) AddCookie(AuthenticationBuilder) AddCookie(AuthenticationBuilder)
AddCookie(AuthenticationBuilder, Action<CookieAuthenticationOptions>) AddCookie(AuthenticationBuilder, Action<CookieAuthenticationOptions>) AddCookie(AuthenticationBuilder, Action<CookieAuthenticationOptions>) AddCookie(AuthenticationBuilder, Action<CookieAuthenticationOptions>)
AddCookie(AuthenticationBuilder, String) AddCookie(AuthenticationBuilder, String) AddCookie(AuthenticationBuilder, String) AddCookie(AuthenticationBuilder, String)
AddCookie(AuthenticationBuilder, String, Action<CookieAuthenticationOptions>) AddCookie(AuthenticationBuilder, String, Action<CookieAuthenticationOptions>) AddCookie(AuthenticationBuilder, String, Action<CookieAuthenticationOptions>) AddCookie(AuthenticationBuilder, String, Action<CookieAuthenticationOptions>)
AddCookie(AuthenticationBuilder, String, String, Action<CookieAuthenticationOptions>) AddCookie(AuthenticationBuilder, String, String, Action<CookieAuthenticationOptions>) AddCookie(AuthenticationBuilder, String, String, Action<CookieAuthenticationOptions>) AddCookie(AuthenticationBuilder, String, String, Action<CookieAuthenticationOptions>)

AddCookie(AuthenticationBuilder) AddCookie(AuthenticationBuilder) AddCookie(AuthenticationBuilder) AddCookie(AuthenticationBuilder)

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ AddCookie(Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ builder);
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddCookie (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder);
static member AddCookie : Microsoft.AspNetCore.Authentication.AuthenticationBuilder -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddCookie (builder As AuthenticationBuilder) As AuthenticationBuilder

Parameters

Returns

AddCookie(AuthenticationBuilder, Action<CookieAuthenticationOptions>) AddCookie(AuthenticationBuilder, Action<CookieAuthenticationOptions>) AddCookie(AuthenticationBuilder, Action<CookieAuthenticationOptions>) AddCookie(AuthenticationBuilder, Action<CookieAuthenticationOptions>)

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ AddCookie(Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ builder, Action<Microsoft::AspNetCore::Authentication::Cookies::CookieAuthenticationOptions ^> ^ configureOptions);
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddCookie (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, Action<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions> configureOptions);
static member AddCookie : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * Action<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddCookie (builder As AuthenticationBuilder, configureOptions As Action(Of CookieAuthenticationOptions)) As AuthenticationBuilder

Parameters

Returns

AddCookie(AuthenticationBuilder, String) AddCookie(AuthenticationBuilder, String) AddCookie(AuthenticationBuilder, String) AddCookie(AuthenticationBuilder, String)

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ AddCookie(Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ builder, System::String ^ authenticationScheme);
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddCookie (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme);
static member AddCookie : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * string -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddCookie (builder As AuthenticationBuilder, authenticationScheme As String) As AuthenticationBuilder

Parameters

authenticationScheme
String String String String

Returns

AddCookie(AuthenticationBuilder, String, Action<CookieAuthenticationOptions>) AddCookie(AuthenticationBuilder, String, Action<CookieAuthenticationOptions>) AddCookie(AuthenticationBuilder, String, Action<CookieAuthenticationOptions>) AddCookie(AuthenticationBuilder, String, Action<CookieAuthenticationOptions>)

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ AddCookie(Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ builder, System::String ^ authenticationScheme, Action<Microsoft::AspNetCore::Authentication::Cookies::CookieAuthenticationOptions ^> ^ configureOptions);
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddCookie (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme, Action<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions> configureOptions);
static member AddCookie : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * string * Action<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddCookie (builder As AuthenticationBuilder, authenticationScheme As String, configureOptions As Action(Of CookieAuthenticationOptions)) As AuthenticationBuilder

Parameters

authenticationScheme
String String String String

Returns

AddCookie(AuthenticationBuilder, String, String, Action<CookieAuthenticationOptions>) AddCookie(AuthenticationBuilder, String, String, Action<CookieAuthenticationOptions>) AddCookie(AuthenticationBuilder, String, String, Action<CookieAuthenticationOptions>) AddCookie(AuthenticationBuilder, String, String, Action<CookieAuthenticationOptions>)

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ AddCookie(Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ builder, System::String ^ authenticationScheme, System::String ^ displayName, Action<Microsoft::AspNetCore::Authentication::Cookies::CookieAuthenticationOptions ^> ^ configureOptions);
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddCookie (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme, string displayName, Action<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions> configureOptions);
static member AddCookie : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * string * string * Action<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddCookie (builder As AuthenticationBuilder, authenticationScheme As String, displayName As String, configureOptions As Action(Of CookieAuthenticationOptions)) As AuthenticationBuilder

Parameters

authenticationScheme
String String String String
displayName
String String String String

Returns

Applies to