ReadAuthorization
A read authorizer's answer: Allowed, or Denied with its Denied.message and Denied.code.
Cases may be added in a minor release, so a when over it keeps an else branch.
Inheritors
Types
Link copied to clipboard
Link copied to clipboard
class Denied @InternalWowApi constructor(val message: String, val code: String = FrameworkCodes.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.