Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Rename MsalMemoryTokenCacheOptions.SlidingExpiration to AbsoluteExpirationRelativeToNow #250

Closed
7 tasks
jmprieur opened this issue Jun 24, 2020 · 2 comments

Comments

@jmprieur
Copy link
Collaborator

jmprieur commented Jun 24, 2020

Which Version of Microsoft Identity Web are you using ?
Microsoft Identity Web 0.1.5-preview

Where is the issue?

  • Web App
    • Sign-in users
    • Sign-in users and call web APIs
  • Web API
    • Protected web APIs (Validating tokens)
    • Protected web APIs (Validating scopes)
    • Protected web APIs call downstream web APIs
  • Token cache serialization
    • [x ] In Memory caches
    • Session caches
    • Distributed caches

Repro
MsalMemoryTokenCacheOptions.SlidingExpiration should be named AbsoluteExpirationRelativeToNow

MsalMemoryTokenCacheProvider.cs#L80

whereas the In memory cache uses absoluteExpirationRelativeToNow

@jmprieur
Copy link
Collaborator Author

Adding P1 as there is an API breaking change (do it sooner rather than later)

@jennyf19
Copy link
Collaborator

Included in 0.2.0-preview release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants