Page Contents
Home > @loopback/security > Subject > principals
Subject.principals property
An array of principals. It can include information about the current user, the client application, and granted authorities.
Subject
represents both security state and operations for a single application user.
Such operations include: - authentication (login) - authorization (access control) - session access - logout
Signature:
principals: Set<TypedPrincipal>;