UNPKG

@tyrads.com/tyrads-sdk-iframe

Version:

Official TyrAds SDK for NodeJS

30 lines (29 loc) 836 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AuthenticationSign = void 0; class AuthenticationSign { /** * Creates an instance of AuthenticationSign. * @param token - The authentication token. * @param publisherUserId - The unique identifier for the user provided by the publisher. */ constructor(token, publisherUserId) { this.token = token; this.publisherUserId = publisherUserId; } /** * Returns the authentication token. * @returns The authentication token. */ getToken() { return this.token; } /** * Returns the publisher user ID. * @returns The publisher user ID. */ getPublisherUserId() { return this.publisherUserId; } } exports.AuthenticationSign = AuthenticationSign;