Pass totp.policy.getAlgorithmKey() to the freemarker template

This commit is contained in:
Joseph Garrone
2024-05-14 00:00:17 +02:00
parent 699a3c8bf6
commit 21454b9168
3 changed files with 13 additions and 9 deletions

View File

@ -419,6 +419,7 @@ export declare namespace KcContext {
algorithm: "HmacSHA1" | "HmacSHA256" | "HmacSHA512";
digits: number;
lookAheadWindow: number;
getAlgorithmKey: () => string;
} & (
| {
type: "totp";