Skip to content

version 0.1 local-auth

Compare
Choose a tag to compare
@abhishekkr abhishekkr released this 18 Oct 17:03
· 37 commits to master since this release

Current Features:

  • provides local auth-store backed by cache2go and encrypted by AES crypto

  • allows POST, GET and DELETE for a auth identifier path (like http://dory.local:8080/local-auth/:identifier) to store, fetch and purge data

  • successful POST of data at auth identifier path returns reference X-DORY-TOKEN mapped with this auth identifier path, this token need to be sent as value of this header X-DORY-TOKEN for GET and DELETE.

  • created secret store have default TTL of 5minutes, custom TTL can be set as URL Param in POST request by value of ttlsecond in seconds

  • first GET of secret will purge it from store, unless GET Param keep=true is provided