2023-01-12 01:24:39 +02:00

17 lines
475 B
C#

using Microsoft.AspNetCore.Http;
using Netmash.Security.Authentication.Identity.Abstractions;
using System;
namespace Netmash.Security.Authentication.Identity.Models
{
public class AuthenticationOptions : IAuthenticationOptions
{
public Func<HttpRequest, bool> AuthenticateAsGuest { get; set; }
public int GuestUserId { get; set; }
public string GuestUserName { get; set; }
public bool AcceptTokenFromQuery { get; set; }
}
}