Page Contents
Home > @loopback/authorization > AuthorizationOptions > defaultMetadata
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.
Signature:
defaultMetadata?: AuthorizationMetadata;