InsecureCookieBasedPrincipals

Constructors

Link copied to clipboard
constructor(cookieNamePrefix: String, contextKey: RequestLens<Base64UriBlob>)

Functions

Link copied to clipboard
open override fun clear(response: Response): Response

Drop the session (logout).

Link copied to clipboard
open override fun read(request: Request): Principal

Resolve the principal for a request:

Link copied to clipboard
open override fun write(userHandle: Base64UriBlob, response: Response): Response

Establish the session for a verified user (eg. set a cookie) on the auth-success response.