Aller au contenu principal
Version: Next

AuthGuard

Implements

  • IGuard

Index

Constructors

constructor

Properties

casbinConfig

casbinConfig: CasbinConfigOptions

enforcer

Methods

canActivate

  • canActivate(context: Context, supplierClz: any, methodName: string): Promise<boolean>

staticasyncEvery

  • asyncEvery<T>(array: T[], callback: (value: T, index: number, a: T[]) => Promise<boolean>): Promise<boolean>
  • Type parameters

    • T

staticasyncSome

  • asyncSome<T>(array: T[], callback: (value: T, index: number, a: T[]) => Promise<boolean>): Promise<boolean>
  • Type parameters

    • T