You are not logged in.

#1 2013-11-22 07:16:19

EvanPurkhiser
Member
From: San Francisco
Registered: 2010-08-17
Posts: 225
Website

Authentication tokens: XDG_DATA_HOME or XDG_CACHE_HOME?

Hey guys,

Authentication tokens (such as for the gist-vim plugin) need to be stored somewhere in the users directory. I make a great effort to follow XDG directory standards so I'm trying to decide where to have authentication-token type files stored.

What directory would it make the most sense to store an authentication token in?

It's certainly not a configuration file, so is it data or a cached piece of information?

Last edited by EvanPurkhiser (2013-11-22 07:16:53)

Offline

#2 2013-11-22 10:46:07

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: Authentication tokens: XDG_DATA_HOME or XDG_CACHE_HOME?

Authentication tokens are volatile data, aren't they? In that case; I'd say it's cached.


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

Board footer

Powered by FluxBB