Capgemini interview question

how do you implement authentication and authorization in Asp.net Core