File

core/authentication/simplified-auth.service.ts

Index

Properties
Methods

Methods

Protected cleanLocalStorage
cleanLocalStorage()
Returns : void
Protected cleanSessionStorage
cleanSessionStorage()
Returns : void
Async logout
logout(reload)

Logs the user out

Parameters :
Name Optional Default value Description
reload No true

If set to false, the page will not reload

Returns : any
Protected redirect
redirect(url: string)
Parameters :
Name Type Optional
url string No
Returns : void
Async reset
reset()

Resets the stored auth-data

Returns : unknown

Properties

Protected alert
Default value : inject(AlertService)
Protected basicAuth
Default value : inject(BasicAuth)
Protected client
Default value : inject(FetchClient)
Protected cookieAuth
Default value : inject(CookieAuth)
Protected location
Default value : inject(LocationStrategy, { optional: true })
Protected realtime
Default value : inject(Realtime)
Protected ui
Default value : inject(AppStateService)

results matching ""

    No results matching ""