//-----------------------------------------------------------------------
//
// Copyright (c) Outercurve Foundation. All rights reserved.
//
//-----------------------------------------------------------------------
namespace DotNetOpenAuth.OAuth2 {
using System;
using Validation;
///
/// A token manager implemented by some clients to assist in tracking authorization state.
///
public interface IClientAuthorizationTracker {
///
/// Gets the state of the authorization for a given callback URL and client state.
///
/// The callback URL.
/// State of the client stored at the beginning of an authorization request.
/// The authorization state; may be null if no authorization state matches.
IAuthorizationState GetAuthorizationState(Uri callbackUrl, string clientState);
}
}