@central-credit/app
Version:
Application Central Credit
17 lines (16 loc) • 648 B
TypeScript
import { BindingKey } from '@loopback/context';
import { TokenService, UserService } from '@loopback/authentication';
import { User } from './models';
import { Credentials } from './repositories';
export declare namespace TokenServiceConstants {
const TOKEN_SECRET_VALUE = "EoRaClSVaLuE3";
const TOKEN_EXPIRES_IN_VALUE = "600";
}
export declare namespace TokenServiceBindings {
const TOKEN_SECRET: BindingKey<string>;
const TOKEN_EXPIRES_IN: BindingKey<string>;
const TOKEN_SERVICE: BindingKey<TokenService>;
}
export declare namespace UserServiceBindings {
const USER_SERVICE: BindingKey<UserService<User, Credentials>>;
}