netmash/NDB.Security.Authentication.../Models/AuthenticationOptions.cs

17 lines
467 B
C#

using Microsoft.AspNetCore.Http;
using NDB.Security.Authentication.Identity.Abstractions;
using System;
namespace NDB.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; }
}
}