netmash/Netmash.Security.Authentica.../Models/AuthenticationOptions.cs

17 lines
475 B
C#
Raw Normal View History

using Microsoft.AspNetCore.Http;
2023-01-12 01:01:36 +02:00
using Netmash.Security.Authentication.Identity.Abstractions;
using System;
2023-01-12 01:01:36 +02:00
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; }
}
}