add exception filter when user not connected default to needing authentication and apply anonymous to some actions add user in get requests add user relation in link, comment and vote signup and in are ok now!
10 lines
126 B
C#
10 lines
126 B
C#
using System;
|
|
|
|
namespace HN.Application
|
|
{
|
|
public interface IUser
|
|
{
|
|
Guid Id { get; }
|
|
string UserName { get; }
|
|
}
|
|
} |