Add custom select-authenticator
This commit is contained in:
parent
2e612fc2ad
commit
47b0436b14
13 changed files with 227 additions and 55 deletions
|
@ -31,6 +31,19 @@ export type WebauthnAuthenticator = {
|
|||
createdAt: string;
|
||||
};
|
||||
|
||||
export type AuthenticationSelection = {
|
||||
authExecId: string;
|
||||
authenticationExecution: {
|
||||
alternative: boolean;
|
||||
enabled: boolean;
|
||||
authenticator:
|
||||
| "auth-otp-form"
|
||||
| "webauthn-authenticator"
|
||||
| "auth-recovery-authn-code-form";
|
||||
priority: string;
|
||||
};
|
||||
};
|
||||
|
||||
export declare namespace KcContextBase {
|
||||
export type Common = {
|
||||
url: {
|
||||
|
@ -327,13 +340,19 @@ export declare namespace KcContextBase {
|
|||
};
|
||||
|
||||
export type SAMLPostForm = Common & {
|
||||
pageId: "saml-post-form.ftl"
|
||||
pageId: "saml-post-form.ftl";
|
||||
samlPost: {
|
||||
url: string;
|
||||
SAMLRequest?: string;
|
||||
SAMLResponse?: string;
|
||||
relayState?: string;
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
export type SelectAuthenticator = Common & {
|
||||
auth: {
|
||||
authenticationSelections: Array<AuthenticationSelection>;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue