UNPKG

dotcms

Version:

This library allows you to interact with DotCMS API's easily from the browser, nodejs and React Native. [Full Documentation](https://dotcms.github.io/core-web/dotcms/)

12 lines (11 loc) 424 B
import { DotCMSAuthorizationLoginParams } from '../models'; /** * DotCMS Authentication handler to intereact with {@link https://dotcms.com/docs/latest/rest-api-authentication | Authentication API} * */ export declare class DotApiAuthorization { /** * Given user, password and expiration date to get a DotCMS Autorization Token */ getToken(params: DotCMSAuthorizationLoginParams): Promise<Response>; }