What's the best practice for storing an OAuth token in WinForms?

I was wondering what is the best fit for storing the authentication token.

My use case would be that the user can enable "Remember Authentication" and will need to re-authenticate when the token expires. Otherwise, it will be just for "session".

I was going to use a singleton class for this and update the custom parameter if the Remember Authentication option is enabled, but I was wondering if this is not secure or if there is a better way to do it.

+3
oauth-2.0 winforms asp.net-web-api2


source to share


No one has answered this question yet

Check out similar questions:

540
How do I save application settings in a Windows Forms application?
17
best practice for storing oauth AND authentication methods?
4
Best Practice for OAuth Token Refresh
3
As an OAuth server, how should I generate and store OAuth 2.0 tokens?
3
Best way to store iOS OAuth token?
1
Oauth 2: why refresh tokens need to be states?
1
How do I sign an authenticated user in Oauth 2.0 stamp?
0
Best practice for OAuth tokens for a combination of native apps and backend processes
0
Passport Node.js OAuth 2.0 authentication: where to store access and update tokens
-1
What's in the aAuth 2 token



All Articles
Loading...
X
Show
Funny
Dev
Pics