UNPKG

472 BTypeScriptView Raw
1import { ProjectOperationCredentials } from "@atomist/automation-client/lib/operations/common/ProjectOperationCredentials";
2/**
3 * Convert the given credentials or token string to a token string
4 * if possible. Otherwise throw an exception.
5 * @param {ProjectOperationCredentials | string} credentials
6 * @return {string}
7 * @ModuleExport
8 */
9export declare function toToken(credentials: ProjectOperationCredentials | string): string;
10//# sourceMappingURL=toToken.d.ts.map
\No newline at end of file