mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-06 12:03:19 +00:00
Creates constructors for all Models.Response.
Resolves https://github.com/octokit/octokit.net/issues/677. Removes obscolete properties (gravatar). Makes Models.Response properties all be protected (most were already).
This commit is contained in:
@@ -8,6 +8,15 @@ namespace Octokit
|
||||
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
||||
public class OauthToken
|
||||
{
|
||||
public OauthToken() { }
|
||||
|
||||
public OauthToken(string tokenType, string accessToken, IReadOnlyList<string> scope)
|
||||
{
|
||||
TokenType = tokenType;
|
||||
AccessToken = accessToken;
|
||||
Scope = scope;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The type of OAuth token
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user