Setup OAuth2 support (#20)

* Setup OAuth2 support

* Setup tests project

* Setup OAuth2 unit tests in CI pipeline

* Setup authorizeattribute tests

* Test

* Setup tests for AuthorizeAttribute

* Setup OAuth2 support
Unit Tests coverage

* Add OAuth2 project to release
This commit is contained in:
2022-09-02 16:13:08 +02:00
committed by GitHub
parent b759869ed6
commit 0fe9f9957c
30 changed files with 2058 additions and 2 deletions
@@ -0,0 +1,13 @@
using System;
namespace MTSC.OAuth2.Exceptions
{
public sealed class TokenValidationException : Exception
{
private const string ErrorMessage = "Failed to validate access token. See inner exception for details";
public TokenValidationException(Exception innerException) : base(ErrorMessage, innerException)
{
}
}
}