@atomist/sdm
Version:
Atomist Software Delivery Machine SDK
10 lines • 472 B
TypeScript
import { ProjectOperationCredentials } from "@atomist/automation-client/lib/operations/common/ProjectOperationCredentials";
/**
* Convert the given credentials or token string to a token string
* if possible. Otherwise throw an exception.
* @param {ProjectOperationCredentials | string} credentials
* @return {string}
* @ModuleExport
*/
export declare function toToken(credentials: ProjectOperationCredentials | string): string;
//# sourceMappingURL=toToken.d.ts.map