import { BindingKey } from '@loopback/core' ; import { Subject , UserProfile } from './types' ; /**
 * Binding keys for security related metadata
 */ export namespace SecurityBindings { /**
     * Binding key for subject
     */ export const SUBJECT = BindingKey . create < Subject > ( 'security.subject' ) ; /**
     * Binding key for current user profile
     */ export const USER = BindingKey . create < UserProfile > ( 'security.user' ) ; }