class defaultimport { default } from "https://dotland.deno.dev/x/pothos@release-1713397530/packages/plugin-scope-auth/request-cache.ts"; Constructorsnewdefault(builder: PothosSchemaTypes.SchemaBuilder<Types>, context: Types["Context"])Type ParametersTypes extends SchemaTypesPropertiesbuilderoptionalcacheKey: (value: unknown) => unknowncontextdefaultStrategy: "all" | "any"grantCache: Map<string, Set<string>>mapCache: Map<{ }, MaybePromise<AuthFailure | null>>scopeCache: Map<keyof Types["AuthScopes"], Map<unknown, MaybePromise<AuthFailure | null>>>optionalscopes: MaybePromise<ScopeLoaderMap<Types>>treatErrorsAsUnauthorized: booleantypeCache: Map<string, Map<unknown, MaybePromise<AuthFailure | null>>>typeGrants: Map<string, Map<unknown, MaybePromise<null>>>MethodsevaluateScopeLoader<T extends keyof Types["AuthScopes"]>(scopes: ScopeLoaderMap<Types>,name: T,arg: Types["AuthScopes"][T],)evaluateScopeMap(map: AuthScopeMap<Types> | boolean,info?: GraphQLResolveInfo,forAll?,): MaybePromise<AuthFailure | null>evaluateScopeMapWithScopes(unnamed 0: AuthScopeMap<Types>,scopes: ScopeLoaderMap<Types>,info: GraphQLResolveInfo | undefined,forAll: boolean,): MaybePromise<AuthFailure | null>evaluateTypeScopeFunction(authScopes: TypeAuthScopesFunction<Types, unknown>,type: string,parent: unknown,info: GraphQLResolveInfo,)getScopes(): MaybePromise<ScopeLoaderMap<Types>>grantTypeScopes(type: string,parent: unknown,path: Path | undefined,cb: () => MaybePromise<readonly string[]>,)saveGrantedScopes(scopes: readonly string[], path: Path | undefined)testGrantedScopes(scope: string, path: Path)withScopes<T>(cb: (scopes: ScopeLoaderMap<Types>) => MaybePromise<T>): MaybePromise<T>Static MethodsclearForContext<T extends SchemaTypes>(context: T["Context"]): voidfromContext<T extends SchemaTypes>(context: T["Context"], builder: PothosSchemaTypes.SchemaBuilder<T>): RequestCache<T>