AllowList Class
Class used by hosts to allow specific containers and endpoint.
Signature
export declare class AllowList implements ICodeAllowList
Implements: ICodeAllowList
Constructors
| Constructor | Description |
|---|---|
| (constructor)(testHandler) | Constructs a new instance of the AllowList class |
Methods
| Method | Return Type | Description |
|---|---|---|
| testSource(source) | Promise<boolean> |
Constructor Details
(constructor)
Constructs a new instance of the AllowList class
Signature
constructor(testHandler?: ((source: IResolvedFluidCodeDetails) => Promise<boolean>) | undefined);
Parameters
| Parameter | Modifiers | Type | Description |
|---|---|---|---|
| testHandler | optional | ((source: IResolvedFluidCodeDetails) => Promise<boolean>) | undefined |
Method Details
testSource
Signature
testSource(source: IResolvedFluidCodeDetails): Promise<boolean>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| source | IResolvedFluidCodeDetails |
Returns
Return type: Promise<boolean>