//----------------------------------------------------------------------- // // Copyright (c) Microsoft. All rights reserved. // //----------------------------------------------------------------------- namespace DotNetOpenAuth.AspNet.Clients { /// /// A token manager for use by a web site in its role as a consumer of /// an individual ServiceProvider. /// /// /// This interface is used by clients of the DotNetOpenAuth.AspNet classes. /// public interface IOAuthTokenManager { /// /// Gets the token secret from the specified token. /// /// The token. /// The token's secret string GetTokenSecret(string token); /// /// Stores the request token together with its secret. /// /// The request token. /// The request token secret. void StoreRequestToken(string requestToken, string requestTokenSecret); /// /// Replaces the request token with access token. /// /// The request token. /// The access token. /// The access token secret. void ReplaceRequestTokenWithAccessToken(string requestToken, string accessToken, string accessTokenSecret); } }