UNPKG

@atomist/sdm-core

Version:

Atomist Software Delivery Machine - Implementation

16 lines 736 B
import { HandlerContext, ProjectOperationCredentials, RemoteRepoRef } from "@atomist/automation-client"; import { CredentialsResolver } from "@atomist/sdm"; /** * Resolves to single credentials from the configuration */ export declare class ConfigurationBasedBasicCredentialsResolver implements CredentialsResolver { private readonly paths; constructor(paths?: { username: string; password: string; }); eventHandlerCredentials(context: HandlerContext): ProjectOperationCredentials; commandHandlerCredentials(context: HandlerContext, id: RemoteRepoRef): ProjectOperationCredentials; private credentialsFromConfiguration; } //# sourceMappingURL=ConfigurationBasedBasicCredentialsResolver.d.ts.map