Layer7 API Management

  • 1.  cache token delete

    Posted Jul 28, 2018 02:22 PM

    Hi There,

    Am caching access token, how could I delete the cached access token on the gateway?



  • 2.  Re: cache token delete

    Broadcom Employee
    Posted Jul 30, 2018 08:05 PM

    Depends on how you cache it.

    Could you provide more details on how you cache the token?



  • 3.  Re: cache token delete

    Posted Jul 30, 2018 08:09 PM

    A client uses the email id along with the with a password to authenticate, am caching based upon the email id.



  • 4.  Re: cache token delete
    Best Answer

    Broadcom Employee
    Posted Jul 31, 2018 08:59 AM

    Hi Sharath,

     

    You may want to take a look at this:

     

    Customize Caches - CA API Management OAuth Toolkit - 4.3 - CA Technologies Documentation 

     

    In particular the OTK cache assertions.

     

    • OTK Cache Look Up
    • OTK Cache Store
    • OTK Cache Remove
    • OTK Cache Flush

     

    Regards,

    Joe



  • 5.  Re: cache token delete

    Broadcom Employee
    Posted Jul 31, 2018 08:07 PM

    I meant, did you cache it in memory via "Stored to cache" assertion, or remote cache, or store to database, or OTK cache etc.



  • 6.  Re: cache token delete

    Posted Sep 21, 2018 08:16 AM

    we are using stored to cache.Am wondering Is there a way i can look at what are all cached on the gateway node?



  • 7.  Re: cache token delete

    Broadcom Employee
    Posted Sep 23, 2018 09:19 PM

    Hello,

    For "Stored to cache” assertion, you should be able to set max entry age to 0 to "delete” it.

     

    Regards,

    Mark