Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LoggedIn

Hierarchy

Index

Constructors

constructor

  • Parameters

    • Default value params: any = {}

    Returns LoggedIn

Properties

params

params: any

Static type_name

type_name: string = "logged-in"

Methods

_getRestrictingQuery

check

checkerFunction

  • checkerFunction(context: Context): Promise<{ allowed: boolean; reason: string }>
  • Parameters

    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