You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
626 B
18 lines
626 B
using Microsoft.AspNetCore.Authentication;
|
|
using System.Threading.Tasks;
|
|
using Volo.Abp.DependencyInjection;
|
|
using Volo.Abp.Settings;
|
|
|
|
namespace LINGYUN.Abp.Account.Web.OAuth.ExternalProviders;
|
|
|
|
public abstract class OAuthHandlerOptionsProvider<TOptions> : IOAuthHandlerOptionsProvider<TOptions>, ITransientDependency
|
|
where TOptions : RemoteAuthenticationOptions, new()
|
|
{
|
|
protected ISettingProvider SettingProvider { get; }
|
|
public OAuthHandlerOptionsProvider(ISettingProvider settingProvider)
|
|
{
|
|
SettingProvider = settingProvider;
|
|
}
|
|
|
|
public abstract Task SetOptionsAsync(TOptions options);
|
|
}
|
|
|