blob: 1719984f43306ab381f16947dfd71d8f9f201f96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
//-----------------------------------------------------------------------
// <copyright file="IAccessTokenResult.cs" company="Andrew Arnott">
// Copyright (c) Andrew Arnott. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace DotNetOpenAuth.OAuth2 {
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
/// <summary>
/// Describes the parameters to be fed into creating a response to an access token request.
/// </summary>
public interface IAccessTokenResult {
/// <summary>
/// Gets or sets a value indicating whether to provide the client with a refresh token, when applicable.
/// </summary>
/// <value>The default value is <c>true</c>.</value>
/// <remarks>>
/// The refresh token will never be provided when this value is false.
/// The refresh token <em>may</em> be provided when this value is true.
/// </remarks>
bool AllowRefreshToken { get; set; }
/// <summary>
/// Gets the access token.
/// </summary>
AccessToken AccessToken { get; }
}
}
|