refactorisation : separation du code serveur d'authentification
This commit is contained in:
parent
f8eef31fb3
commit
b462350d72
57 changed files with 5452 additions and 108 deletions
14
OAuth.AspNet.AuthServer/IAuthenticationTokenProvider.cs
Normal file
14
OAuth.AspNet.AuthServer/IAuthenticationTokenProvider.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
using System.Threading.Tasks;
|
||||
|
||||
namespace OAuth.AspNet.AuthServer
|
||||
{
|
||||
|
||||
public interface IAuthenticationTokenProvider
|
||||
{
|
||||
void Create(AuthenticationTokenCreateContext context);
|
||||
Task CreateAsync(AuthenticationTokenCreateContext context);
|
||||
void Receive(AuthenticationTokenReceiveContext context);
|
||||
Task ReceiveAsync(AuthenticationTokenReceiveContext context);
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue