mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-02 02:45:32 +00:00
@@ -0,0 +1,35 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Octokit
|
||||
{
|
||||
/// <summary>
|
||||
/// Used to create a new authorization.
|
||||
/// </summary>
|
||||
public class AuthorizationUpdate
|
||||
{
|
||||
/// <summary>
|
||||
/// Replaces the authorization scopes with this list.
|
||||
/// </summary>
|
||||
public IEnumerable<string> Scopes { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// A list of scopes to add to this authorization.
|
||||
/// </summary>
|
||||
public IEnumerable<string> AddScopes { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// A list of scopes to remove from this authorization.
|
||||
/// </summary>
|
||||
public IEnumerable<string> RemoveScopes { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// An optional note to remind you what the OAuth token is for.
|
||||
/// </summary>
|
||||
public string Note { get; set; }
|
||||
|
||||
/// <summary>
|
||||
// An optional URL to remind you what app the OAuth token is for.
|
||||
/// </summary>
|
||||
public string NoteUrl { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user