UNPKG

@bunnyapp/api-client

Version:
10 lines 594 B
import Bunny from '../'; /** * Generate a session token for customer portal * @param {string} tenantCode The unique code that represents the tenant * @param {string} returnUrl A URL to redirect the user back to the original app after using the portal * @param {number} expiryInHours Length of time in hours before the token expires. Defaults to 24 * @returns {Promise<string>} The session token */ export default function portalSessionCreate(this: Bunny, tenantCode: string, returnUrl?: string, expiryInHours?: number): Promise<string>; //# sourceMappingURL=portal-session-create.d.ts.map