You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
|
|
|
|
|
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace OpenAuth.IdentityServer.Quickstart.Grants
|
|
|
|
|
{
|
|
|
|
|
public class GrantsViewModel
|
|
|
|
|
{
|
|
|
|
|
public IEnumerable<GrantViewModel> Grants { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class GrantViewModel
|
|
|
|
|
{
|
|
|
|
|
public string ClientId { get; set; }
|
|
|
|
|
public string ClientName { get; set; }
|
|
|
|
|
public string ClientUrl { get; set; }
|
|
|
|
|
public string ClientLogoUrl { get; set; }
|
|
|
|
|
public DateTime Created { get; set; }
|
|
|
|
|
public DateTime? Expires { get; set; }
|
|
|
|
|
public IEnumerable<string> IdentityGrantNames { get; set; }
|
|
|
|
|
public IEnumerable<string> ApiGrantNames { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|