@loopback/docs
Version:
Documentation for LoopBack 4
31 lines (20 loc) • 1.09 kB
Markdown
lang: en
title: 'API docs: authentication.authenticationoptions'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/authentication
permalink: /doc/en/lb4/apidocs.authentication.authenticationoptions.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/authentication](./authentication.md) > [AuthenticationOptions](./authentication.authenticationoptions.md)
## AuthenticationOptions interface
Options for authentication component
<b>Signature:</b>
```typescript
export interface AuthenticationOptions
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [defaultMetadata](./authentication.authenticationoptions.defaultmetadata.md) | <code>AuthenticationMetadata</code> | Default authentication metadata if a method or class is not decorated with <code>@authenticate</code>. If not set, no default authentication will be enforced for those methods without authentication metadata. |