mirror of
https://github.com/AlexMacocian/MTSC.git
synced 2026-07-15 14:59:33 +00:00
0fe9f9957c
* 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
14 lines
364 B
C#
14 lines
364 B
C#
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)
|
|
{
|
|
}
|
|
}
|
|
}
|