@atomist/sdm
Version:
Atomist Software Delivery Machine SDK
11 lines • 796 B
TypeScript
import { HandlerContext } from "@atomist/automation-client/lib/HandlerContext";
import { ProjectOperationCredentials } from "@atomist/automation-client/lib/operations/common/ProjectOperationCredentials";
import { RemoteRepoRef } from "@atomist/automation-client/lib/operations/common/RepoId";
import { CredentialsResolver } from "../../../spi/credentials/CredentialsResolver";
export declare class GitHubCredentialsResolver implements CredentialsResolver {
readonly orgToken: string;
eventHandlerCredentials(context: HandlerContext, id?: RemoteRepoRef): Promise<ProjectOperationCredentials>;
commandHandlerCredentials(context: HandlerContext, id?: RemoteRepoRef): Promise<ProjectOperationCredentials>;
private credentials;
}
//# sourceMappingURL=GitHubCredentialsResolver.d.ts.map