Skip to content

Commit

Permalink
fix(UserSession): will now update expired tokens on non-federated ser…
Browse files Browse the repository at this point in the history
…vers

AFFECTS PACKAGES:
@esri/arcgis-rest-auth
  • Loading branch information
oselz committed Sep 11, 2019
1 parent ac0913b commit af121c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/arcgis-rest-auth/src/UserSession.ts
Original file line number Diff line number Diff line change
Expand Up @@ -894,6 +894,7 @@ export class UserSession implements IAuthenticationManager {
expires: new Date(response.expires),
token: response.token
};
delete this._pendingTokenRequests[root];
return response.token;
});

Expand Down

0 comments on commit af121c1

Please sign in to comment.