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