Request consent from user before giving application access to the user's data & services.

This commit is contained in:
Andrew Camilleri
2019-08-29 09:25:16 +02:00
committed by Nicolas Dorier
parent 1447b5e8be
commit c5227d9996
15 changed files with 410 additions and 188 deletions

View 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; }
}
}