UNPKG

@arc-publishing/sdk-amp

Version:
24 lines (23 loc) 1.2 kB
import { InjectableIdentity, IdentityType } from '../identity'; import MemoryStorage from '@arc-publishing/sdk-subs-core/lib/utils/memoryStorage'; import CookieStorage from '@arc-publishing/sdk-subs-core/lib/utils/cookieStorage'; import getAMPReaderIDs from './getAMPReaderIDs'; import saveAMPReaderID from './saveAMPReaderID'; import checkAMPReaderID from './checkAMPReaderID'; import logoutAMPReaderID from './logoutAMPReaderID'; import authenticateAMPReaderID from './authenticateAMPReaderID'; export default abstract class Amp { static _Identity: IdentityType | InjectableIdentity; static apiOrigin?: string; static _baseDomain?: string; static _selectedStorage: MemoryStorage | CookieStorage | Storage; private static _ampReaderId; static get ampReaderId(): string; static set ampReaderId(ampReaderId: string); static options: (options: import("./options").OptionsType) => void; static checkAMPReaderID: typeof checkAMPReaderID; static getAMPReaderIDs: typeof getAMPReaderIDs; static saveAMPReaderID: typeof saveAMPReaderID; static logoutAMPReaderID: typeof logoutAMPReaderID; static authenticateAMPReaderID: typeof authenticateAMPReaderID; }