Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolonsky committed Jul 19, 2019
1 parent 99cb8f0 commit aba5708
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 60 deletions.
19 changes: 0 additions & 19 deletions IntuneDriveMapping/Models/DriveMappingModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,4 @@ public class DriveMappingModel
[Display(Name = "Security Group Filter")]
public string GroupFilter { get; set; }
}

public class AadAppRegistration
{
[Required]
[Display(Name = "Tenant ID")]
[RegularExpression(@"^(\{{0,1}([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}\}{0,1})$", ErrorMessage = "Specify your tenant ID")]
public string TenantId { get; set; }
[Required]
[Display(Name = "Client ID")]
[RegularExpression(@"^(\{{0,1}([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}\}{0,1})$", ErrorMessage = "Specify your client ID")]
public string ClientId { get; set; }
[Required]
[Display(Name = "Client secret")]
public string ClientSecret { get; set; }

public string Scope { get; } = "https://graph.microsoft.com/.default";

public string GrantType { get; } = "client_credentials";
}
}
41 changes: 0 additions & 41 deletions IntuneDriveMapping/Views/DriveMapping/AzureAppRegistration.cshtml

This file was deleted.

0 comments on commit aba5708

Please sign in to comment.