nativescript-oauth2
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -10,4 +10,6 @@ /// <reference path="./providers/providers.d.ts" /> | ||
refreshToken: string; | ||
idToken: string; | ||
accessTokenExpiration: Date; | ||
refreshTokenExpiration: Date; | ||
idTokenExpiration: Date; | ||
} | ||
@@ -14,0 +16,0 @@ |
{ | ||
"name": "nativescript-oauth2", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "OAuth 2 generic authorization plugin for NativeScript that doesn't install third party native libraries", | ||
@@ -71,3 +71,3 @@ "main": "oauth", | ||
"tns-platform-declarations": "^5.2.0", | ||
"typescript": "3.3.3", | ||
"typescript": "3.1.1", | ||
"prompt": "^1.0.0", | ||
@@ -74,0 +74,0 @@ "rimraf": "^2.6.2", |
@@ -105,2 +105,3 @@ "use strict"; | ||
var refresh_token = results["refresh_token"]; | ||
var id_token = results["id_token"]; | ||
var expires_in = results["expires_in"]; | ||
@@ -114,4 +115,6 @@ delete results["refresh_token"]; | ||
refreshToken: refresh_token, | ||
idToken: id_token, | ||
accessTokenExpiration: expDate, | ||
refreshTokenExpiration: expDate | ||
refreshTokenExpiration: expDate, | ||
idTokenExpiration: expDate | ||
}; | ||
@@ -118,0 +121,0 @@ } |
102172
1130