mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-01 18:35:35 +00:00
updated new fields for request and response
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user