Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • AuthService

Index

Constructors

constructor

Properties

Private appStore

appStore: AppStore

Private appdbAction

appdbAction: AppdbAction

Private localStorage

localStorage: LocalStorage

Private m_authenticated

m_authenticated: boolean

Private m_pendingNotify

m_pendingNotify: any

Private storeService

storeService: StoreService

Private ubsub

ubsub: function

Type declaration

    • (): void
    • Returns void

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

  • listenStore(): void
  • Returns void

ngOnDestroy

  • ngOnDestroy(): void
  • Returns void

Private onAuthFail

  • onAuthFail(): boolean
  • 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

Generated using TypeDoc