I\'m planning to implement an API with resources that are protected by either Oauth2 OR Basic authentication in dot net core api. I am wondering if we can do this in asp dot net