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
15
OAuth.AspNet.AuthServer/OAuthDefaults.cs
Normal file
15
OAuth.AspNet.AuthServer/OAuthDefaults.cs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
|
||||
namespace OAuth.AspNet.AuthServer
|
||||
{
|
||||
/// <summary>
|
||||
/// Default values used by authorization server and bearer authentication.
|
||||
/// </summary>
|
||||
public static class OAuthDefaults
|
||||
{
|
||||
/// <summary>
|
||||
/// Default value for AuthenticationType property in the OAuthBearerAuthenticationOptions and
|
||||
/// OAuthAuthorizationServerOptions.
|
||||
/// </summary>
|
||||
public const string AuthenticationType = "Bearer";
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue