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
Expiration
MaxAge
public bool
IsEssential
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
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object