Page Contents

Home > @loopback/security > TypedPrincipal > (constructor)

TypedPrincipal.(constructor)

Constructs a new instance of the TypedPrincipal class

Signature:

constructor(principal: Principal, type: string);

Parameters

Parameter Type Description
principal Principal  
type string