Projet de stage 2021
This commit is contained in:
14
key4intranet.authentication/Models/ExposedUserModel.cs
Normal file
14
key4intranet.authentication/Models/ExposedUserModel.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace key4intranet.authentication.Models
|
||||
{
|
||||
public class ExposedUserModel
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
public List<string> Roles { get; set; }
|
||||
public string Token { get; set; }
|
||||
}
|
||||
}
|
8
key4intranet.authentication/Models/PostUserModel.cs
Normal file
8
key4intranet.authentication/Models/PostUserModel.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace key4intranet.authentication.Models
|
||||
{
|
||||
public class PostUserModel
|
||||
{
|
||||
public string User { get; set; }
|
||||
public string Pass { get; set; }
|
||||
}
|
||||
}
|
13
key4intranet.authentication/Models/StoredUserModel.cs
Normal file
13
key4intranet.authentication/Models/StoredUserModel.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace key4intranet.authentication.Models
|
||||
{
|
||||
public class StoredUserModel
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string Mail { get; set; }
|
||||
public string Pass { get; set; }
|
||||
public string Name { get; set; }
|
||||
public List<string> Roles { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user