The “Recent errors” tile displays errors that have occurred during the predefined time period. The document usage tile shows the number of API calls used (documents created/sent), as well as limits (if applicable). This tab offers current information about your API integration in real time. The pop-up has a Copy data button that copies your request data, which you can easily share with the PandaDoc Support team in case you have any questions or issues. build ( ) //let tokenstore: FileStore = new FileStore("/Users/userName/tssdk-tokens.txt")Ĭreate an instance of SDKConfig containing the SDK configuration.You can search requests by URL or Request ID.Įach request is clickable and the pop-up displays request ID, token type, key, user ID/email, application name (if available), and request/response body. build ( ) let tokenstore: DBStore = new DBBuilder ( ). Default value "oauthtoken" */ let tokenstore: DBStore = new DBStore ( ). Default value "3306" * tableName -> Table Name. Default value "" * portNumber -> DataBase port number. Default value "root" * password -> DataBase password. Default value "zohooauth" * userName -> DataBase user name. Default value "localhost" * databaseName -> DataBase name. Import from /* * hostName -> DataBase host name. Custom database name and table name can be set in DBStore instance.There must be a table name oauthtoken with columns. In case the user prefers to use default DataBase persistence, MySQL can be used. GetTokenById(id, token) - The method to retrieve the user's token details based on unique ID. GetTokens() - The method to retrieve all the stored tokens.ĭeleteTokens() - The method to delete all the stored tokens. SaveToken(user: UserSignature, token : Token) - invoked after fetching access and refresh tokens from Zoho.ĭeleteToken(token : Token) - invoked before saving the latest tokens. This method should return implementation Token Class object for the library to process it. GetToken(user : UserSignature, token : Token) - invoked before firing a request to fetch the saved tokens. The persistence is achieved by writing an implementation of the inbuilt TokenStore Class, which has the following callback methods. Hence, they need to be persisted by the client app. Once the application is authorized, OAuth access and refresh tokens can be used for subsequent user data requests to Zoho CRM. They are DataBase Persistence, File Persistence and Custom Persistence. There are three ways provided by the SDK in which persistence can be utilized. Token persistence refers to storing and utilizing the authentication tokens that are provided by Zoho.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |