Comments (3)
@new-bmk , you can get the expiring date from responding object. Please refer to example below:
let hms = hmshealthapi();
hms.Initial(tokens, (error, response) => {
if(error) {
console.log('Initial : ', error);
} else {
console.log('response json :', response);
// response json : { access_token: 'c22f...............................bd0',
// expires_in: 86400,
// token_type: 'Bearer',
// scope: 'read only',
// refresh_token: '8a6..................................36a5' }
}
});
from hms-widget-sdk.
I'm curious about what property expires_in mean. It means the time when the token expires or the token will expire in xxx unit
from hms-widget-sdk.
from hms-widget-sdk.
Related Issues (20)
- [Patient] Patient Observation - Vital-Sign (Backend) HOT 1
- [Patient] Patient Observation - Vital-Sign (Frontend) HOT 1
- [Patient] Patient Observation - Laboratory (Backend) HOT 1
- [Patient] Patient Observation - Laboratory (Frontend) HOT 1
- [Structure] Structure Update HOT 1
- [Opinion] branch feature/structure HOT 1
- [POC] Widget gallery (including demo app) HOT 2
- [Q&A] The issue about "ผลการวินิจฉัย" key in each encounter HOT 2
- Demo app HOT 1
- Apply HMS Schema to HMS Widget SDK HOT 1
- Modify authentication flow HOT 1
- Practitioner & Participant employeeId mismatch HOT 1
- Can't request `Care Plan` domain resource HOT 2
- careplan ResourceType is null HOT 6
- Diastolic and Systolic in Vital-Sign can multiple fields? HOT 1
- Can add field code in vital-sign ? HOT 6
- No example of Heart rate in vital-sign? HOT 1
- medicationdispense schema.ResourceType is null HOT 2
- cannot request load from patient HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hms-widget-sdk.