UNPKG

@loopback/docs

Version:
31 lines (20 loc) 793 B
--- lang: en title: 'API docs: authorization.principal' keywords: LoopBack 4.0, LoopBack 4 sidebar: lb4_sidebar permalink: /doc/en/lb4/apidocs.authorization.principal.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/authorization](./authorization.md) &gt; [Principal](./authorization.principal.md) ## Principal interface Represent a user, an application, or a device <b>Signature:</b> ```typescript export interface Principal ``` ## Properties | Property | Type | Description | | --- | --- | --- | | [name](./authorization.principal.name.md) | <code>string</code> | Name/id | | [type](./authorization.principal.type.md) | <code>string</code> | Type - user/application/device etc |