×

Authorization token cache system and method

  • US 9,306,939 B2
  • Filed: 05/30/2014
  • Issued: 04/05/2016
  • Est. Priority Date: 05/30/2014
  • Status: Active Grant
First Claim
Patent Images

1. A system, comprising:

  • at least one processor to;

    send an initialization message from an application to a token client, the initialization message comprising credentials information and token metadata;

    cache the credentials information and the token metadata in a token cache and return a session identifier that maps to a cache key to retrieve the token metadata and the credentials information, wherein the token metadata comprises at least one service property used for obtaining an access token from a token service;

    send a first access token request based on the credentials information and the token metadata;

    receive a first access token response and retrieve a first access token from the first access token response using the token metadata;

    cache the first access token in the token cache by associating the first access token with the cache key;

    send a resource request for protected resources;

    receive a resource response from a resource server, the resource response having a representation of the protected resources;

    send, based on the resource response, the representation of the protected resources;

    send the first access token request to a token service computer;

    receive the first access token response from the token service computer;

    receive by the token client the resource response from the resource server, the resource response indicating that the resource request is one of an unauthorized request and a bad request;

    send a second access token request to the token service computer based on the credentials information and the token metadata;

    receive a second access token response from the token service computer and retrieving a second access token from the second access token response using the token metadata; and

    cache the second access token in the token cache by associating the second access token with the cache key.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×