infer type of algToKeyUriAlg from type of kcConfig + fix totp interface

- add more yarn dirs to .gitignore
This commit is contained in:
Thomas Silvestre
2023-04-06 17:50:26 +02:00
parent c1e0563eba
commit 564ffc2be9
4 changed files with 9 additions and 6 deletions

View File

@ -333,7 +333,6 @@ export declare namespace KcContext {
totpSecretEncoded: string;
qrUrl: string;
policy: {
supportedApplications: string[];
algorithm: "HmacSHA1" | "HmacSHA256" | "HmacSHA512";
digits: number;
lookAheadWindow: number;
@ -347,6 +346,7 @@ export declare namespace KcContext {
initialCounter: number;
}
);
supportedApplications: string[];
totpSecretQrCode: string;
manualUrl: string;
totpSecret: string;