ReadAuthorization

sealed interface ReadAuthorization

A read authorizer's answer: Allowed, or Denied with its Denied.message and Denied.code.

Inheritors

Types

Link copied to clipboard
Link copied to clipboard
class Denied @InternalWowApi constructor(val message: String, val code: String = FrameworkErrors.AUTH_FORBIDDEN) : ReadAuthorization

A refusal of the caller, answered with code: wow.auth.forbidden (403) unless the caller is refused for something the error code table names otherwise, such as a request without an application (wow.query.malformed, 400). The code is one of that table's (FrameworkErrors), each with its status.