UNPKG

@loopback/docs

Version:
23 lines (15 loc) 895 B
--- lang: en title: 'API docs: authentication.authenticationoptions.defaultmetadata' keywords: LoopBack 4.0, LoopBack 4 sidebar: lb4_sidebar permalink: /doc/en/lb4/apidocs.authentication.authenticationoptions.defaultmetadata.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/authentication](./authentication.md) &gt; [AuthenticationOptions](./authentication.authenticationoptions.md) &gt; [defaultMetadata](./authentication.authenticationoptions.defaultmetadata.md) ## AuthenticationOptions.defaultMetadata property Default authentication metadata if a method or class is not decorated with `@authenticate`<!-- -->. If not set, no default authentication will be enforced for those methods without authentication metadata. <b>Signature:</b> ```typescript defaultMetadata?: AuthenticationMetadata; ```