mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-28 16:58:00 +01:00
16 lines
464 B
C#
16 lines
464 B
C#
|
using System;
|
||
|
using Microsoft.AspNetCore.Authentication;
|
||
|
|
||
|
namespace BTCPayServer.Security
|
||
|
{
|
||
|
public static class BitpayAuthenticationExtensions
|
||
|
{
|
||
|
public static AuthenticationBuilder AddBitpayAuthentication(this AuthenticationBuilder builder,
|
||
|
Action<BitpayAuthentication.BitpayAuthOptions> bitpayAuth = null)
|
||
|
{
|
||
|
BitpayAuthentication.AddAuthentication(builder,bitpayAuth);
|
||
|
return builder;
|
||
|
}
|
||
|
}
|
||
|
}
|