Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Microsoft.​AspNetCore.​Authentication.​RequestPathBaseCookieBuilder
Assembly: Microsoft.AspNetCore.Authentication
Inheritance: object → Http.​CookieBuilder → RequestPathBaseCookieBuilder
A cookie builder that sets <see cref="P:Microsoft.AspNetCore.Http.CookieOptions.Path" /> to the request path base.
Properties
protected
string
AdditionalPath
Gets an optional value that is appended to the request path base.
public
string
Name
public
string
Path
public
string
Domain
public
bool
HttpOnly
SameSite
SecurePolicy
public
System.​TimeSpan?
Expiration
public
System.​TimeSpan?
MaxAge
public
bool
IsEssential
public
System.​Collections.​Generic.​IList<​string>
Extensions
Methods
Build​(Http.​HttpContext context,
System.​DateTimeOffset expiresFrom)
Configures <see cref="P:Microsoft.AspNetCore.Http.CookieOptions.Path" /> if not explicitly configured.
Build​(Http.​HttpContext context)
Inherited from Http.​CookieBuilder
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object