Skip to content

Commit

Permalink
Fix type for entity configuration #235
Browse files Browse the repository at this point in the history
  • Loading branch information
tngan committed Jan 6, 2019
1 parent b366c94 commit f91fde4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ export interface ServiceProviderSettings {
signatureConfig?: SignatureConfig;
loginRequestTemplate?: SAMLDocumentTemplate;
logoutRequestTemplate?: SAMLDocumentTemplate;
signingCert?: string | Buffer;
encryptCert?: string | Buffer;
}

export interface IdentityProviderSettings {
Expand All @@ -100,8 +102,8 @@ export interface IdentityProviderSettings {
entityID?: string;
privateKey?: string | Buffer;
privateKeyPass?: string;
signingCert?: string;
encrpytCert?: string; /** todo */
signingCert?: string | Buffer;
encryptCert?: string | Buffer; /** todo */
nameIDFormat?: string[];
singleSignOnService?: Array<{ [key: string]: string }>;
singleLogoutService?: Array<{ [key: string]: string }>;
Expand Down

0 comments on commit f91fde4

Please sign in to comment.