Interface MobileServiceClient

Index

Construct signatures

Properties

Methods

Construct signatures

constructor(applicationUrl: string, applicationKey: string): MobileServiceClient

Parameters

  • applicationUrl: string
  • applicationKey: string

Returns

MobileServiceClient

Properties

public applicationKey: string

public applicationUrl: string

public currentUser: User

Methods

public getTable(tableName: string): MobileServiceTable

Parameters

  • tableName: string

Returns

MobileServiceTable

public login(provider: string, token: string, callback: (error: any, user: Microsoft.WindowsAzure.User) => void)

Parameters

  • provider: string
  • token: string
  • callback: (error: any, user: Microsoft.WindowsAzure.User) => void

public login(provider: string, token: string): asyncPromise

Parameters

  • provider: string
  • token: string

Returns

asyncPromise

public login(provider: string, callback: (error: any, user: Microsoft.WindowsAzure.User) => void)

Parameters

  • provider: string
  • callback: (error: any, user: Microsoft.WindowsAzure.User) => void

public login(provider: string): asyncPromise

Parameters

  • provider: string

Returns

asyncPromise

public logout()

public withFilter(serviceFilter: (request: any, next: (request: any, callback: (error: any, response: any) => void) => void, callback: (error: any, response: any) => void) => void): MobileServiceClient

Parameters

  • serviceFilter: (request: any, next: (request: any, callback: (error: any, response: any) => void) => void, callback: (error: any, response: any) => void) => void

Returns

MobileServiceClient