Versatile OpenID Connect stack for ASP.NET Core and Microsoft.Owin (compatible with ASP.NET 4.6.1)
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

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