Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
e

Unauthorized

enum Unauthorized(reason: Option[String]) extends LiveRouteMountFailure

Returns HTTP 401 or rejects connected admission as unauthorized.

Parameters

reason

An optional reason, logged when the mount is rejected and never sent to the browser.

Defined by scalive.LiveRouteMountFailure.Unauthorized. View source (scalive/api/src/scalive/LiveRouteMountAspect.scala:41-41)

Values1

reason

val reason: Option[String]

An optional reason, logged when the mount is rejected and never sent to the browser.

Defined by scalive.LiveRouteMountFailure.Unauthorized.reason. View source (scalive/api/src/scalive/LiveRouteMountAspect.scala:41-41)