Resource based authorization with Identity - C#