now has working requestValidation method

This commit is contained in:
2017-01-15 13:33:55 +01:00
parent 4dadcf227c
commit dfd7edd330
5 changed files with 49 additions and 26 deletions

View File

@ -39,6 +39,7 @@ export interface IAcmeCsrConstructorOptions {
export declare class AcmeCert {
domainName: string;
attributes: any;
acceptedChallenge: ISmartAcmeChallengeAccepted;
fullchain: string;
parentAcmeAccount: AcmeAccount;
csr: any;
@ -56,7 +57,7 @@ export declare class AcmeCert {
/**
* validates a challenge, only call after you have set the challenge at the expected location
*/
validate(challenge: ISmartAcmeChallengeAccepted): q.Promise<{}>;
requestValidation(): q.Promise<{}>;
/**
* requests a certificate
*/
@ -68,5 +69,5 @@ export declare class AcmeCert {
/**
* accept a challenge - for private use only
*/
private acceptChallenge(challenge);
private acceptChallenge(challengeArg);
}

File diff suppressed because one or more lines are too long