more identity awesome
This commit is contained in:
@@ -42,5 +42,8 @@ namespace Umbraco.Web.Models.ContentEditing
|
||||
/// </summary>
|
||||
[DataMember(Name = "allowedSections")]
|
||||
public IEnumerable<string> AllowedSections { get; set; }
|
||||
|
||||
[DataMember(Name = "linkedLogins")]
|
||||
public IEnumerable<KeyValuePair<string, string>> LinkedLogins { get; set; }
|
||||
}
|
||||
}
|
||||
16
src/Umbraco.Web/Models/UnLinkLoginModel.cs
Normal file
16
src/Umbraco.Web/Models/UnLinkLoginModel.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace Umbraco.Web.Models
|
||||
{
|
||||
public class UnLinkLoginModel
|
||||
{
|
||||
[Required]
|
||||
[DataMember(Name = "loginProvider", IsRequired = true)]
|
||||
public string LoginProvider { get; set; }
|
||||
|
||||
[Required]
|
||||
[DataMember(Name = "providerKey", IsRequired = true)]
|
||||
public string ProviderKey { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user