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 = {
isUserLoggedIn: false;
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;
}) => Promise<never>;
};