sfapi-ts

Home > @cjh1/sfapi > Client

Client class

Signature:

export declare class Client extends ClientBase 

Extends: ClientBase

Constructors

Constructor Modifiers Description
(constructor)(clientID, redirectUrl, authorizationUrl, tokenUrl, scopes, apiBaseUrl, onAccessTokenExpiry, onInvalidGrant)   Constructs a new instance of the Client class

Properties

Property Modifiers Type Description
account readonly AccountService (Inherited from ClientBase)
compute readonly ComputeService (Inherited from ClientBase)
meta readonly MetaService (Inherited from ClientBase)
request readonly BaseHttpRequest (Inherited from ClientBase)
status readonly StatusService (Inherited from ClientBase)
storage readonly StorageService (Inherited from ClientBase)
tasks readonly TasksService (Inherited from ClientBase)
utilities readonly UtilitiesService (Inherited from ClientBase)

Methods

Method Modifiers Description
authorize()    
fetch(options)    
isAuthorized()    
isReturningFromAuthServer()    
reset()