graphdb
Version:
Javascript client library supporting GraphDB and RDF4J REST API.
28 lines (27 loc) • 702 B
TypeScript
/**
* An abstract class that specifies common methods for different types
* of authentication. Concrete authentication types must extend
* this class and override it's methods
*
* @abstract
* @class
* @author Teodossi Dossev
*/
export class Authentication {
/**
* Constructor.
* @param {ClientConfig} clientConfig
*/
constructor(clientConfig: ClientConfig);
clientConfig: ClientConfig;
/**
* Returns authentication type related {@link HttpRequestBuilder}
* login request builder
*/
getLoginRequestBuilder(): void;
/**
* Returns authentication type related {string}
* token from response
*/
getResponseAuthToken(): void;
}