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

[Feature Request] Add RemoveAccount API for long-running OBO #3346

Closed
pmaytak opened this issue May 24, 2022 · 0 comments · Fixed by #3975 or #3998
Closed

[Feature Request] Add RemoveAccount API for long-running OBO #3346

pmaytak opened this issue May 24, 2022 · 0 comments · Fixed by #3975 or #3998

Comments

@pmaytak
Copy link
Contributor

pmaytak commented May 24, 2022

Is your feature request related to a problem? Please describe.
Currently there's no way to remove an account/token in a long running OBO scenario. A real-world example could be using a Graph delta API, where web API subscribes to receive some delta information periodically from Graph about a user. When a user calls the web API to unsubscribe, there should be a way to remove the OBO tokens for that user. Since long-running OBO tokens have a refresh token, there's no suggested cache expiry, so it's not set.

Describe the solution you'd like
Create an API something like RemoveAccountAsync(string longRunningOboKey) or StopLongRunningWebApi to not confuse it with normal OBO.

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