Update comments
This commit is contained in:
parent
0169d54eb7
commit
7dfbbc71f5
|
@ -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>;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue