mirror of
https://github.com/AlexMacocian/MTSC.git
synced 2026-07-25 08:22:17 +00:00
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:
@@ -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)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user