IP Library › Granted Patent US 11,438,328
Granted Patent B2
US 11,438,328 · App. 16/864,084 · Granted Sep 6, 2022

Methods and apparatus to refresh a token

Inventors: Martin Dachev (Sofia, BG); George P Dimitrov (Sofia, BG)
Assignee: VMWARE, INC.
H04L63/0846
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,438,328
App. No.
16/864,084
Filed
Apr 30, 2020
Granted
Sep 6, 2022
Kind
B2
Art Unit
2438
USPC
726/9
Abstract

Methods, apparatus, systems, and articles of manufacture to refresh a token for use in a virtualized computing environment are disclosed. An example method includes accessing a request to perform an automation task; extracting a first token from the request to perform the automation task; determining, by executing an instruction with a processor, whether the first token is expired or will expire in a threshold amount of time; in response to determining that the first token is expired or will expire in the threshold amount of time, requesting a refreshed token; replacing the first token with the refreshed token to create an updated request; and sending the updated request to an automation executor.

Claims (42)

1. An apparatus to refresh a token, the apparatus comprising:

a request interceptor to access a request to perform an automation task;

a token analyzer to:

extract a first token from the request to perform the automation task; and

determine, without providing the request to an automation executor, whether the first token will expire within a threshold amount of time;

a user token requestor to, in response to the token analyzer determining that the first token will expire in the threshold amount of time, request a refreshed token;

a token updater to replace the first token with the refreshed token to create an updated request; and

a request transmitter to send the updated request to the automation executor.

2. The apparatus of claim 1 , wherein the token analyzer is further to determine whether the first token is a user token, and the user token requestor is to request the refreshed token in response to the token analyzer determining that the first token is the user token.

3. The apparatus of claim 1 , wherein the token analyzer is further to determine an amount of time until expiration of the first token, and compare the amount of time until expiration of the first token to the threshold.

4. The apparatus of claim 3 , wherein the threshold is five minutes.

5. The apparatus of claim 1 , wherein the user token requestor is to send a token refresh request to a session controller, the token refresh request including credentials.

6. The apparatus of claim 1 , wherein at least one of the request interceptor, the token analyzer, the user token requestor, the token updater, and the request transmitter are implemented as a service within an automation manager.

7. The apparatus of claim 1 , wherein the request interceptor is to intercept the request from an automation request interface.

8. At least one non-transitory computer readable storage medium comprising instructions that, when executed, cause at least one processor to at least:

access a request to perform an automation task;

extract a first token from the request to perform the automation task;

determine, without providing the request to an automation executor, whether the first token will expire within a threshold amount of time;

in response to determining that the first token will expire within the threshold amount of time, request a refreshed token;

replace the first token with the refreshed token to create an updated request; and

send the updated request to the automation executor.

9. The at least one computer readable storage medium of claim 8 , wherein the instructions, when executed, further cause the processor to determine whether the first token is a user token, and wherein the request for the refreshed token is transmitted in response to determining that the first token is the user token.

10. The at least one computer readable storage medium of claim 8 , wherein the instructions, when executed, further cause the processor to:

determine an amount of time until expiration of the first token; and

compare the amount of time until expiration of the first token to the threshold.

11. The at least one computer readable storage medium of claim 10 , wherein the threshold is five minutes.

12. The at least one computer readable storage medium of claim 8 , wherein the instructions, when executed, further cause the processor to transmit a token refresh request to a session controller, the token refresh request including credentials.

13. The at least one computer readable storage medium of claim 8 , wherein the instructions, when executed, further cause the processor to intercept the request from an automation request interface.

14. A method to refresh a token, the method comprising:

accessing a request to perform an automation task;

extracting a first token from the request to perform the automation task;

determining, by executing an instruction with a processor and without providing the request to an automation executor, whether the first token will expire within a threshold amount of time;

in response to determining that the first token will expire within the threshold amount of time, requesting a refreshed token;

replacing the first token with the refreshed token to create an updated request; and

sending the updated request to the automation executor.

15. The method of claim 14 , further including determining whether the first token is a user token, and wherein the requesting of the refreshed token is further performed in response to determining that the first token is the user token.

16. The method of claim 14 , wherein the determining that the first token will soon be expired includes:

determining an amount of time until expiration of the first token; and

comparing the amount of time until expiration of the first token to the threshold.

17. The method of claim 16 , wherein the threshold is five minutes.

18. The method of claim 14 , wherein the requesting of the refreshed token includes sending a token refresh request to a session controller, the token refresh request including client credentials.

19. The method of claim 14 , wherein the request to perform the automation task is intercepted between transmission from an automation request interface to the automation executor.

Assignments (2)
CHANGE OF NAME Recorded Apr 15, 2024
From: VMWARE, INC.
To: VMWARE LLC
Reel/Frame 067102/0395 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 2, 2021
From: DACHEV, MARTIN; DIMITROV, GEORGE P.
To: VMWARE, INC.
Reel/Frame 055455/0832 →
Continuity (1)
Related Publication 20210344670A1 · Nov 4, 2021
Cited By (1)
US 12,380,202