Update comments

This commit is contained in:
garronej 2023-03-04 22:36:49 +01:00
parent 0169d54eb7
commit 7dfbbc71f5

View File

@ -15,7 +15,8 @@ export declare namespace OidcClient {
export type NotLoggedIn = { export type NotLoggedIn = {
isUserLoggedIn: false; isUserLoggedIn: false;
login: (params: { login: (params: {
//To prevent infinite loop if the user click login then cancel. //To prevent infinite loop if the user access a page that requires to
//be authenticated but cancel (clicks back).
doesCurrentHrefRequiresAuth: boolean; doesCurrentHrefRequiresAuth: boolean;
}) => Promise<never>; }) => Promise<never>;
}; };