noticebord-client
Version:
The official Typescript client library for the Noticebord API.
12 lines (11 loc) • 368 B
TypeScript
import { AuthenticateRequest } from "../requests";
export declare class TokenService {
/**
* Gets a bearer token from the API.
*
* @param baseUrl Base URL of the API
* @param request The request to authenticate with.
* @returns A bearer token.
*/
static getToken(baseUrl: string, request: AuthenticateRequest): Promise<string>;
}