So I want to make an authentication attribute that I can put on my methods. Example
[Attribute]
public void getUsers()
{
}
I want the attribute to have some logic in it, so I can verify the information coming in, to see if the user is allowed to access that method. I have done a lot of searching and a lot of them use .Net or mvc and I want .netcore. Any help is welcome