harbor/src/common
wang yan 47a09b5891 add expiration of robot account
This commit is to make the expiration of robot account configurable

1, The expiration could be set by system admin in the configuation page or
by /api/config with robot_token_expiration=60, the default value is 30 days.
2, The expiration could be shown in the robot account infor both on UI and API.

Signed-off-by: wang yan <wangyan@vmware.com>
2019-02-22 18:42:34 +08:00
..
api Remove the duplicate http error struct (#6516) 2018-12-12 11:51:19 +08:00
config add expiration of robot account 2019-02-22 18:42:34 +08:00
dao Merge pull request #6941 from ywk253100/190213_replication_policy 2019-02-21 16:03:55 +08:00
http Add support for http proxy in transport 2018-12-17 10:35:27 +02:00
job Add Scan All job to job service (#5934) 2018-09-22 13:07:32 +08:00
models add expiration of robot account 2019-02-22 18:42:34 +08:00
rbac Protect API using rbac 2019-02-01 18:55:06 +08:00
registryctl Replacing copyright notices with "Copyright Project Harbor Authors". 2018-09-19 16:59:36 +00:00
secret Replacing copyright notices with "Copyright Project Harbor Authors". 2018-09-19 16:59:36 +00:00
security Refactor adminserver stage 3: replace config api and change ut settings 2019-02-18 14:06:19 +08:00
token add expiration of robot account 2019-02-22 18:42:34 +08:00
utils Merge pull request #6963 from stonezdj/remove_container 2019-02-22 18:27:43 +08:00
const.go add expiration of robot account 2019-02-22 18:42:34 +08:00