Page Contents

Home > @loopback/security > DefaultSubject

DefaultSubject class

Default implementation of Subject

Signature:

export declare class DefaultSubject implements Subject 

Properties

Property Modifiers Type Description
authorities   Set<Permission>  
credentials   Set<Credential>  
principals   Set<TypedPrincipal>  

Methods

Method Modifiers Description
addApplication(app)    
addAuthority(authorities)    
addCredential(credentials)    
addUser(users)    
getPrincipal(type)