Managing Tokens in .NET MAUI

Hey Andrea,

very nice solution, thank you very much! Unfortunately, I’m only encountering one problem here. If line

var responseMessage = await base.SendAsync(request, cancellationToken);

is reached and it is determined that 401 is Unauthorized, then I get the message after updating the token:

System.ObjectDisposedException: Cannot access a closed Stream.

Do you got any ideas?