//-----------------------------------------------------------------------
//
// Copyright (c) Andrew Arnott. All rights reserved.
//
//-----------------------------------------------------------------------
namespace DotNetOpenAuth.OAuth2 {
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
///
/// Describes the parameters to be fed into creating a response to an access token request.
///
public interface IAccessTokenResult {
///
/// Gets or sets a value indicating whether to provide the client with a refresh token, when applicable.
///
/// The default value is true.
/// >
/// The refresh token will never be provided when this value is false.
/// The refresh token may be provided when this value is true.
///
bool AllowRefreshToken { get; set; }
///
/// Gets the access token.
///
AccessToken AccessToken { get; }
}
}