Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Noone

Hierarchy

Index

Constructors

constructor

  • new Noone(params?: any): Noone
  • Parameters

    • Default value params: any = {}

    Returns Noone

Properties

params

params: any

Static type_name

type_name: string = "noone"

Methods

_getRestrictingQuery

  • _getRestrictingQuery(): Promise<DenyAll>

check

checkerFunction

  • checkerFunction(): Promise<{ allowed: boolean; reason: string }>
  • Returns Promise<{ allowed: boolean; reason: string }>

getRestrictingQuery

isItemSensitive

  • isItemSensitive(): Promise<boolean>

Static allow

  • allow(reason: string): { allowed: boolean; reason: string }
  • Parameters

    • reason: string

    Returns { allowed: boolean; reason: string }

    • allowed: boolean
    • reason: string

Static deny

  • deny(reason: string): { allowed: boolean; reason: string }
  • Parameters

    • reason: string

    Returns { allowed: boolean; reason: string }

    • allowed: boolean
    • reason: string

Static fromDefinition

Generated using TypeDoc