Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

authenticationControl

authenticationControl: AuthenticationControl

Private checkStatusInterval

checkStatusInterval: any

configured

configured: boolean = false

container

container: Container

http

http: HttpClient

log

log: Logger

ready

ready: boolean = false

state

state: AppState

store

store: Store<DecoAppState>

Private subscription

subscription: any

Private swissdataInitDone

swissdataInitDone: boolean = false

Accessors

ensureUsers

Methods

addAppId

  • addAppId(entrypoint: string): string

authenticate

  • authenticate(username: string, password: string): Promise<boolean>

checkAuthentication

  • checkAuthentication(): Promise<boolean>

Private checkStatus

  • checkStatus(): void

configureHost

  • configureHost(host: string): void

defaultOptions

  • defaultOptions(options?: any): any

delete

  • delete(entrypoint: string, body?: any, options?: RequestOption): Promise<Response>

doubleAuth

  • doubleAuth(code: string): Promise<boolean>

ensureAuthentication

  • ensureAuthentication(): Promise<boolean>

extendEntrpoint

  • extendEntrpoint(entrypoint: string): string

get

  • get(entrypoint: string, options?: RequestOption): Promise<Response>

hideOnboarding

  • hideOnboarding(): Promise<any>

init

isReady

  • isReady(): Promise<void>

logout

  • logout(): Promise<void>

post

  • post(entrypoint: string, body?: any, options?: RequestOption): Promise<Response>

put

  • put(entrypoint: string, body?: any, options?: RequestOption): Promise<Response>

requestResetPassword

  • requestResetPassword(emailOrMobile: string): Promise<any>

resetPassword

  • resetPassword(token: any, code: any, newPassword: any): Promise<any>

setAccessToken

  • setAccessToken(token: any): Promise<boolean>

setCurrentUser

  • setCurrentUser(): Promise<boolean>

setDoubleAuth

  • setDoubleAuth(token: any): Promise<boolean>

setState

Private setStateAsAuthenticated

Private setStateAsUnauthenticated

  • setStateAsUnauthenticated(): Promise<any>

startCheckStatus

  • startCheckStatus(interval: number, unit?: "milliseconds" | "seconds"): void

stopCheckingStatus

  • stopCheckingStatus(): void

Generated using TypeDoc