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: unknown)

Logs the user out

Parameters :
Name Type Optional Default value Description
reload unknown 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
Type : unknown
Default value : inject(AlertService)
Protected basicAuth
Type : unknown
Default value : inject(BasicAuth)
Protected client
Type : unknown
Default value : inject(FetchClient)
Protected cookieAuth
Type : unknown
Default value : inject(CookieAuth)
Protected location
Type : unknown
Default value : inject(LocationStrategy, { optional: true })
Protected realtime
Type : unknown
Default value : inject(Realtime)
Protected ui
Type : unknown
Default value : inject(AppStateService)

results matching ""

    No results matching ""