Ticket #96 (closed enhancement: fixed)
Extend TokenHandlingBindingElement/IServiceProviderTokenManager to support regular get/set based storages
| Reported by: | http://oyvind.kinsey.no/ | Owned by: | http://blog.nerdbank.net/ |
|---|---|---|---|
| Priority: | major | Milestone: | v3.3 RTW |
| Component: | OAuth | Version: | |
| Keywords: | sp storage token | Cc: |
Description (last modified by http://blog.nerdbank.net/) (diff)
As it is now, the TokenHandlingBindingElement depends on the objects maintaining and saving their own state as it is modifying the tokens without calling any sort of update/save methods on the !IServiceProviderTokenManager.
The IServiceProviderTokenManager should be extended with a
void UpdateRequestToken(IServiceProviderRequestToken token);
and TokenHandlingBindingElement.ProcessOutgoingMessage should be modified to call this after modifying the token.
The would not alter existing functionality except for requiring an extra method implemented (could have an empty body).
Modified files are attached.
![(please configure the [header_logo] section in trac.ini)](http://nerdbank.org/RP/images/logo/dotnetopenid_tiny.gif)