Interface HelloJSStatic

Hierarchy

Index

Call signatures

Properties

Methods

Call signatures

(network: string): HelloJSStaticNamed

Parameters

  • network: string

Returns

HelloJSStaticNamed

Properties

public settings: HelloJSLoginOptions

Methods

public complete(callback: (json?: any) => void): HelloJSStatic

Parameters

  • callback: (json?: any) => void

Returns

HelloJSStatic

public emit(event: string, data: any): HelloJSStatic

Parameters

  • event: string
  • data: any

Returns

HelloJSStatic

public emitAfter(): HelloJSStatic

Returns

HelloJSStatic

public error(callback: (json?: any) => void): HelloJSStatic

Parameters

  • callback: (json?: any) => void

Returns

HelloJSStatic

public findEvents(event: string, callback: (name: string, index: number) => void)

Parameters

  • event: string
  • callback: (name: string, index: number) => void

public getAuthResponse(network: string): any

Parameters

  • network: string

Returns

any

public init(serviceAppIds: { [id: string]: string; }, options?: HelloJSLoginOptions)

Parameters

public init(servicesDef: { [id: string]: HelloJSServiceDef; })

Parameters

  • servicesDef: { [id: string]: HelloJSServiceDef; }

public login(network: string, options?: HelloJSLoginOptions, callback?: () => void)

Parameters

public logout(network: string, options?: HelloJSLogoutOptions, callback?: () => void)

Parameters

public off(event: string, callback: (auth: HelloJSEventArgument) => void): HelloJSStatic

Parameters

  • event: string
  • callback: (auth: HelloJSEventArgument) => void

Returns

HelloJSStatic

public on(event: string, callback: (auth: HelloJSEventArgument) => void): HelloJSStatic

Parameters

  • event: string
  • callback: (auth: HelloJSEventArgument) => void

Returns

HelloJSStatic

public service(network: string): HelloJSServiceDef

Parameters

  • network: string

Returns

HelloJSServiceDef

public success(callback: (json?: any) => void): HelloJSStatic

Parameters

  • callback: (json?: any) => void

Returns

HelloJSStatic