Stores eauth tokens in the filesystem of the master. Location is configured by the master config option 'token_dir'
Fetch the token data from the store.
opts -- Salt master config options
tok -- Token value to get
Token data if successful. Empty dict if failed.
List all tokens in the store.
opts -- Salt master config options
List of dicts (tokens)
Mint a new token using the config option hash_type and store tdata with 'token' attribute set to the token. This module uses the hash of random 512 bytes as a token.
opts -- Salt master config options
tdata -- Token data to be stored with 'token' attribute of this dict set to the token.
tdata with token if successful. Empty dict if failed.
Remove token from the store.
opts -- Salt master config options
tok -- Token to remove
Empty dict if successful. None if failed.