mirror of
https://github.com/AlexMacocian/MTSC.git
synced 2026-07-22 18:29:31 +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
341 B
C#
14 lines
341 B
C#
using MTSC.OAuth2.Builders;
|
|
using MTSC.ServerSide;
|
|
|
|
namespace MTSC.OAuth2.Extensions
|
|
{
|
|
public static class ServerExtensions
|
|
{
|
|
public static MicrosoftGraphAuthorizationBuilder WithMicrosoftGraphAuthorization(this Server server)
|
|
{
|
|
return new MicrosoftGraphAuthorizationBuilder(server);
|
|
}
|
|
}
|
|
}
|