---
lang: en
title: 'API docs: authorization.authorizationoptions.defaultmetadata'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/authorization
permalink: /doc/en/lb4/apidocs.authorization.authorizationoptions.defaultmetadata.html
---

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

[Home](./index.md) &gt; [@loopback/authorization](./authorization.md) &gt; [AuthorizationOptions](./authorization.authorizationoptions.md) &gt; [defaultMetadata](./authorization.authorizationoptions.defaultmetadata.md)

## AuthorizationOptions.defaultMetadata property

Default authorization metadata if a method is not decorated with `@authorize`<!-- -->. If not set, no authorization will be enforced for those methods that are not associated with authorization metadata.

<b>Signature:</b>

```typescript
defaultMetadata?: AuthorizationMetadata;
```

