UNPKG

@loopback/docs

Version:

Documentation files rendered at [https://loopback.io](https://loopback.io)

140 lines (66 loc) 1.89 kB
--- lang: en title: 'API docs: security.typedprincipal' keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI sidebar: lb4_sidebar editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/security permalink: /doc/en/lb4/apidocs.security.typedprincipal.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/security](./security.md) &gt; [TypedPrincipal](./security.typedprincipal.md) ## TypedPrincipal class **Signature:** ```typescript export declare class TypedPrincipal implements Principal ``` **Implements:** [Principal](./security.principal.md) ## Constructors <table><thead><tr><th> Constructor </th><th> Modifiers </th><th> Description </th></tr></thead> <tbody><tr><td markdown="1"> [(constructor)(principal, type)](./security.typedprincipal._constructor_.md) </td><td markdown="1"> </td><td markdown="1"> Constructs a new instance of the `TypedPrincipal` class </td></tr> </tbody></table> ## Properties <table><thead><tr><th> Property </th><th> Modifiers </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td markdown="1"> [\[securityId\]](./security.typedprincipal._securityid_.md) </td><td markdown="1"> `readonly` </td><td markdown="1"> string </td><td markdown="1"> </td></tr> <tr><td markdown="1"> [principal](./security.typedprincipal.principal.md) </td><td markdown="1"> `readonly` </td><td markdown="1"> [Principal](./security.principal.md) </td><td markdown="1"> </td></tr> <tr><td markdown="1"> [type](./security.typedprincipal.type.md) </td><td markdown="1"> `readonly` </td><td markdown="1"> string </td><td markdown="1"> </td></tr> </tbody></table>