UNPKG

component-dbs-core

Version:

DTO objects shared among device backend

15 lines (14 loc) 667 B
/// <reference types="jest" /> import { EnvironmentService } from '../../common_services/config'; import { DynamodbService } from '../../common_services/dynamodb/dynamodbService'; export declare class DeviceVerification { private readonly dynamodbService; private envService; static deviceTokenValid: boolean; static accessTokenValid: boolean; static mockIsDeviceTokenValid: jest.Mock<any, any>; static mockCheckAccessToken: jest.Mock<any, any>; constructor(dynamodbService: DynamodbService, envService: EnvironmentService); isDeviceTokenValid: (deviceUuid: string, accessToken: string) => boolean; checkAccessToken: () => void; }