You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
780 B
26 lines
780 B
using System.ComponentModel.DataAnnotations;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using Microsoft.AspNetCore.Mvc.ModelBinding;
|
|
using OpenIddict.Abstractions;
|
|
|
|
namespace Mvc.Server.ViewModels.Authorization
|
|
{
|
|
public class VerifyViewModel
|
|
{
|
|
[Display(Name = "Application")]
|
|
public string ApplicationName { get; set; }
|
|
|
|
[BindNever, Display(Name = "Error")]
|
|
public string Error { get; set; }
|
|
|
|
[BindNever, Display(Name = "Error description")]
|
|
public string ErrorDescription { get; set; }
|
|
|
|
[Display(Name = "Scope")]
|
|
public string Scope { get; set; }
|
|
|
|
[FromQuery(Name = OpenIddictConstants.Parameters.UserCode)]
|
|
[Display(Name = "User code")]
|
|
public string UserCode { get; set; }
|
|
}
|
|
}
|
|
|