using System;
using ThoughtWorks.CruiseControl.WebDashboard.MVC;
namespace ThoughtWorks.CruiseControl.WebDashboard.Dashboard{
/// <summary>
/// Interface for retrieving sessions.
/// </summary>
public interface ISessionRetriever
{
/// <summary>
/// Retrieves the session token from a request.
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
string RetrieveSessionToken(IRequest request);
/// <summary>
/// The retrieved session token.
/// </summary>
string SessionToken { get; set; }
}
}
|