2021-06-26 21:20:49 +03:00
|
|
|
|
using Microsoft.AspNetCore.Http;
|
|
|
|
|
using System;
|
|
|
|
|
|
2023-01-12 01:01:36 +02:00
|
|
|
|
namespace Netmash.Security.Authentication.Identity.Abstractions
|
2021-06-26 21:20:49 +03:00
|
|
|
|
{
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
}
|