mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-19 06:54:19 +01:00
Request consent from user before giving application access to the user's data & services.
This commit is contained in:
committed by
Nicolas Dorier
parent
1447b5e8be
commit
c5227d9996
14
BTCPayServer/Models/Authorization/AuthorizeViewModel.cs
Normal file
14
BTCPayServer/Models/Authorization/AuthorizeViewModel.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Microsoft.AspNetCore.Mvc.ModelBinding;
|
||||
|
||||
namespace BTCPayServer.Models.Authorization
|
||||
{
|
||||
public class AuthorizeViewModel
|
||||
{
|
||||
[Display(Name = "Application")] public string ApplicationName { get; set; }
|
||||
|
||||
[BindNever] public string RequestId { get; set; }
|
||||
|
||||
[Display(Name = "Scope")] public string Scope { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user