mirror of
https://dev.azure.com/tstanciu94/Packages/_git/Netmash
synced 2025-06-21 19:22:38 +03:00
17 lines
467 B
C#
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; }
|
|
}
|
|
}
|