UNPKG

graphdb

Version:

Javascript client library supporting GraphDB and RDF4J REST API.

27 lines (26 loc) 673 B
/** * Basic authentication type class. * Used for basic authentication against secured gdb server. * * @class * @author Teodossi Dossev */ export class BasicAuthentication { /** * @override * @return {HttpRequestBuilder} requestBuilder */ override getLoginRequestBuilder(): HttpRequestBuilder; /** * Converts string to Base64 * @param {String} string * @return {string} converted string */ toBase64(string: string): string; /** * @override * @return {string} token */ override getResponseAuthToken(response: any): string; } import HttpRequestBuilder = require("../http/http-request-builder");