Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

BasicLevel

import type { BasicLevel } from "https://googleapis.deno.dev/v1/accesscontextmanager:v1.ts";

BasicLevel is an AccessLevel using a set of recommended features.

interface BasicLevel {
combiningFunction?: "AND" | "OR";
conditions?: Condition[];
}

§Properties

§
combiningFunction?: "AND" | "OR"
[src]

How the conditions list should be combined to determine if a request is granted this AccessLevel. If AND is used, each Condition in conditions must be satisfied for the AccessLevel to be applied. If OR is used, at least one Condition in conditions must be satisfied for the AccessLevel to be applied. Default behavior is AND.

§
conditions?: Condition[]
[src]

Required. A list of requirements for the AccessLevel to be granted.