2021-06-26 21:20:49 +03:00
|
|
|
|
using Microsoft.AspNetCore.Http;
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace NDB.Security.Authentication.Identity.Abstractions
|
|
|
|
|
{
|
|
|
|
|
public interface IAuthenticationOptions
|
|
|
|
|
{
|
|
|
|
|
Func<HttpRequest, bool> AuthenticateAsGuest { get; }
|
|
|
|
|
int GuestUserId { get; }
|
|
|
|
|
string GuestUserName { get; }
|
2021-11-24 03:40:30 +02:00
|
|
|
|
bool AcceptTokenFromQuery { get; }
|
2021-06-26 21:20:49 +03:00
|
|
|
|
}
|
|
|
|
|
}
|