Page Contents

Home > @loopback/authentication > AuthenticationOptions

AuthenticationOptions interface

Options for authentication component

Signature:

export interface AuthenticationOptions 

Properties

Property Type Description
defaultMetadata? AuthenticationMetadata[] (Optional) 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.