updated new fields for request and response

This commit is contained in:
Brendan Forster
2014-12-23 13:41:35 +09:30
parent 3706ac5d15
commit 56f549ad28
3 changed files with 27 additions and 0 deletions
@@ -36,6 +36,11 @@ namespace Octokit
/// </summary>
public string NoteUrl { get; set; }
/// <summary>
/// Optional parameter that allows an OAuth application to create multiple authorizations for a single user
/// </summary>
public string Fingerprint { get; set; }
internal string DebuggerDisplay
{
get
@@ -16,6 +16,11 @@ namespace Octokit
/// </summary>
public IEnumerable<string> Scopes { get; set; }
/// <summary>
/// Optional parameter that allows an OAuth application to create multiple authorizations for a single user
/// </summary>
public string Fingerprint { get; set; }
/// <summary>
/// An optional note to remind you what the OAuth token is for.
/// </summary>
+17
View File
@@ -29,8 +29,25 @@ namespace Octokit
/// <summary>
/// The oauth token (be careful with these, they are like passwords!).
/// </summary>
[Obsolete("Now returns empty string, to be deprecated for security reasons")]
public string Token { get; set; }
/// <summary>
/// The last eight characters of the user's token
/// </summary>
public string TokenLastEight { get; set; }
/// <summary>
/// Base-64 encoded representation of the SHA-256 digest of the token
/// </summary>
public string HashedToken { get; set; }
/// <summary>
/// Optional parameter that allows an OAuth application to create
/// multiple authorizations for a single user
/// </summary>
public string Fingerprint { get; set; }
/// <summary>
/// Notes about this particular <see cref="Authorization"/>.
/// </summary>