AuthCookieResource

@Path(value = "/")
class AuthCookieResource @Inject constructor(val appConfig: TribeApplicationConfig)

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
private fun getCookieName(): String

Create the cookie name based on the configured application name

Link copied to clipboard
@GET
@Path(value = "/auth_cookie")
@Timed
@PermitAll
fun setAuthCookie(@Context containerRequestContext: ContainerRequestContext): Response

Set authorization credentials in the HTTP headers as a session-lifetime, HTTP-only cookie.

Properties

Link copied to clipboard