---
lang: en
title: 'API docs: context.bindingfromclassoptions'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.context.bindingfromclassoptions.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/context](./context.md) &gt; [BindingFromClassOptions](./context.bindingfromclassoptions.md)

## BindingFromClassOptions type

Options to customize the binding created from a class

<b>Signature:</b>

```typescript
export declare type BindingFromClassOptions = {
    key?: BindingAddress;
    type?: string;
    name?: string;
    namespace?: string;
    typeNamespaceMapping?: TypeNamespaceMapping;
    defaultScope?: BindingScope;
};
```

