question

VasanthakumarM-3635 avatar image
0 Votes"
VasanthakumarM-3635 asked VasanthakumarM-3635 answered

Maintain the Login / Logout Session

Hi Techie,

              How to maintain the login/Logout session in xamarin forms? 
dotnet-xamarin
· 9
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Could you share more details about account type that you want to execute? Self background services account or the Microsoft, FB, Google account? If you use Xamarin.Auth to logout, you can refer to this thread:https://github.com/xamarin/Xamarin.Auth/issues/200

0 Votes 0 ·

@LeonLu-MSFT This is my account type, It's the bearer token. How to maintain the session?


88283-image.png


0 Votes 0 ·
image.png (33.8 KiB)

Your account comes from your background server or public account provider(Microsoft, FB, Google)?

0 Votes 0 ·

@LeonLu-MSFT Comes from Background Server.

0 Votes 0 ·
Show more comments

1 Answer

VasanthakumarM-3635 avatar image
0 Votes"
VasanthakumarM-3635 answered

Write the Code in the App.cs Use Xam.Setting.Plugin



89774-image.png



image.png (30.8 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.