class defaultimport { default } from "https://dotland.deno.dev/x/pothos@release-1684230554/packages/plugin-scope-auth/request-cache.ts"; Constructorsnewdefault(builder: PothosSchemaTypes.SchemaBuilder<Types>, context: Types["Context"])Type ParametersTypes extends SchemaTypesPropertiesbuilderoptionalcacheKey: (value: unknown) => unknowncontextgrantCache: Map<string, Set<string>>mapCache: Map<{ }, MaybePromise<null | AuthFailure>>scopeCache: Map<keyof Types["AuthScopes"], Map<unknown, MaybePromise<AuthFailure | null>>>optionalscopes: MaybePromise<ScopeLoaderMap<Types>>treatErrorsAsUnauthorized: booleantypeCache: Map<string, Map<unknown, MaybePromise<null | AuthFailure>>>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<null | AuthFailure>evaluateScopeMapWithScopes(unnamed 0: AuthScopeMap<Types>,scopes: ScopeLoaderMap<Types>,info: GraphQLResolveInfo | undefined,forAll: boolean,): MaybePromise<null | AuthFailure>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 MethodsfromContext<T extends SchemaTypes>(context: T["Context"], builder: PothosSchemaTypes.SchemaBuilder<T>): RequestCache<T>