Page Contents

Home > @loopback/security > DefaultSubject > addAuthority

DefaultSubject.addAuthority() method

Signature:

addAuthority(...authorities: Permission[]): void;

Parameters

Parameter Type Description
authorities Permission[]  

Returns:

void