Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Handling Bearer Token Expiration

$
0
0

I'm using .NET Web API and bearer tokens for our app. Everything is fine until the token expires while using the app which causes it to crash because it can't parse the JSON response. How can I handle the token expiration throughout the entire app ? I could check the expiration before each request but that seems messy. I've also played around with the MessagingCenter but I'm having a hard time conceptualizing how that would work for the entire app.


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>