How I can implement logout message in .Net core API

I am using Angular as front end and .Net core API as backend. I am successfully able to integrate Auth0 for login and receiving SAML file as response. But I am facing issue in logout. Please suggest how i can implement logout using logout message class.