Client Application Permissions
        Below is the list of applications you have given permission to and the resources they have access to.
     
    @if (Model.Grants.Any() == false)
    {
        
            
                
                    You have not given access to any applications
                
             
         
    }
    else
    {
        foreach (var grant in Model.Grants)
        {
            
                
                
                
                    @if (grant.Description != null)
                    {
                        - 
                             @grant.Description
                        }
- 
                         @grant.Created.ToString("yyyy-MM-dd")
                    @if (grant.Expires.HasValue)
                    {
- 
                             @grant.Expires.Value.ToString("yyyy-MM-dd")
                        }
                    @if (grant.IdentityGrantNames.Any())
                    {
- 
                            
                            
                                @foreach (var name in grant.IdentityGrantNames)
                                {
                                    - @name}
 
}
                    @if (grant.ApiGrantNames.Any())
                    {- 
                            
                            
                                @foreach (var name in grant.ApiGrantNames)
                                {
                                    - @name}
 
}
 
        }
    }