import { juggler } from '@loopback/repository'; import { BindingKey, MetadataAccessor } from '@loopback/core'; import { FlclCrypter } from './components/crypter/flcl-crypter'; import { FlclTokenService } from './services/token.service'; import { AuthenticateFn } from '@loopback/authentication'; import { AuthorizationFn, FLCL_AUTHZ_OPTIONS, FLCL_AUTHN_OPTIONS, UserWithRole } from './types'; import { FcAuth } from './fcAuth.component'; import { AccessTokenRepository } from './repositories/access-token.repository'; export declare namespace AUTH_PKG_BINDINGS { const COMPONENT: BindingKey; const TOKEN_SERVICE: BindingKey; const TOKEN_SECRET: BindingKey; const JWT_TOKEN_SECRET: BindingKey; const TOKEN_EXPIRES_IN: BindingKey; const REFRESH_TOKEN_EXPIRES_IN: BindingKey; const ACCESS_TOKEN_REPOSITORY: BindingKey; const CRYPTER: BindingKey; const AUTHN_FN: BindingKey; const AUTHORIZER_FN: BindingKey; const CURRENT_USER: BindingKey; const USER: BindingKey; const DATASOURCE_NAME = "flvservice"; const DATASOURCE_OBJ: BindingKey; const ACL_REPOSITORY = "flcl.component.repositories.AclRepository"; const TOKEN_ALGORITHM = "flcl.component.token.algorithm"; const FLCL_AUTHN_OPTIONS_KEY: MetadataAccessor; const FLCL_AUTHZ_OPTIONS_KEY: MetadataAccessor; }