Page Contents
Home > @loopback/authorization > AuthorizeMethodDecoratorFactory > mergeWithOwn
AuthorizeMethodDecoratorFactory.mergeWithOwn() method
Signature:
protected mergeWithOwn(ownMetadata: MetadataMap<AuthorizationMetadata>, target: Object, methodName?: string, methodDescriptor?: TypedPropertyDescriptor<any> | number): MetadataMap<AuthorizationMetadata>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| ownMetadata | [MetadataMap](/doc/en/lb4/apidocs.metadata.metadatamap.html)<[AuthorizationMetadata](/doc/en/lb4/apidocs.authorization.authorizationmetadata.html)> | |
| target | Object | |
| methodName | string | _(Optional)_ |
| methodDescriptor | TypedPropertyDescriptor<any> \| number | _(Optional)_ |
Returns: