@loopback/docs
Version:
Documentation for LoopBack 4
47 lines (31 loc) • 1.76 kB
Markdown
lang: en
title: 'API docs: boot.interceptorproviderbooter'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/boot
permalink: /doc/en/lb4/apidocs.boot.interceptorproviderbooter.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/boot](./boot.md) > [InterceptorProviderBooter](./boot.interceptorproviderbooter.md)
## InterceptorProviderBooter class
A class that extends BaseArtifactBooter to boot the 'InterceptorProvider' artifact type.
Supported phases: configure, discover, load
<b>Signature:</b>
```typescript
export declare class InterceptorProviderBooter extends BaseArtifactBooter
```
## Constructors
| Constructor | Modifiers | Description |
| --- | --- | --- |
| [(constructor)(app, projectRoot, interceptorConfig)](./boot.interceptorproviderbooter._constructor_.md) | | Constructs a new instance of the <code>InterceptorProviderBooter</code> class |
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [app](./boot.interceptorproviderbooter.app.md) | | <code>Application</code> | |
| [interceptorConfig](./boot.interceptorproviderbooter.interceptorconfig.md) | | <code>ArtifactOptions</code> | |
| [interceptors](./boot.interceptorproviderbooter.interceptors.md) | | <code>InterceptorProviderClass[]</code> | |
## Methods
| Method | Modifiers | Description |
| --- | --- | --- |
| [load()](./boot.interceptorproviderbooter.load.md) | | Uses super method to get a list of Artifact classes. Boot each file by creating a DataSourceConstructor and binding it to the application class. |