Constructors
constructor
-
Parameters
Properties
Private appStore
appStore: AppStore
Private appdbAction
Private localStorage
Private m_authenticated
m_authenticated: boolean
Private m_pendingNotify
m_pendingNotify: any
Private storeService
Private ubsub
ubsub: function
Methods
authUser
- authUser(i_user?: string, i_pass?: string, i_remember?: string): void
-
Parameters
-
Optional i_user: string
-
Optional i_pass: string
-
Optional i_remember: string
Returns void
checkAccess
- checkAccess(to: ComponentInstruction, from: ComponentInstruction, target?: Array<string>): Promise<any>
-
Parameters
-
to: ComponentInstruction
-
from: ComponentInstruction
-
Default value target: Array<string> = ['/Login/Login']
Returns Promise<any>
getLocalstoreCred
- getLocalstoreCred(): object
-
Returns object
-
p: string
-
r: string
-
u: string
Private listenStore
-
Returns void
ngOnDestroy
-
Returns void
Private onAuthFail
-
Returns boolean
Private onAuthPass
- onAuthPass(i_user: any, i_pass: any, i_remember: any): void
-
Parameters
-
i_user: any
-
i_pass: any
-
i_remember: any
Returns void