mirror of
https://github.com/hay-kot/homebox.git
synced 2025-08-03 16:20:27 +00:00
fix missing field in interface
This commit is contained in:
parent
1b49bc3575
commit
a5914df807
1 changed files with 5 additions and 0 deletions
|
@ -37,6 +37,11 @@ export interface IAuthContext {
|
|||
* Logs in the user and sets the authorization context via cookies
|
||||
*/
|
||||
login(api: PublicApi, email: string, password: string, stayLoggedIn: boolean): ReturnType<PublicApi["login"]>;
|
||||
|
||||
/**
|
||||
* Logs in the user via trusted HTTP headers and sets the authorization context via cookies
|
||||
*/
|
||||
login_sso_header(api: PublicApi): ReturnType<PublicApi["login"]>;
|
||||
}
|
||||
|
||||
class AuthContext implements IAuthContext {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue