harbor/src/common/token
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
..
claims_test.go update codes per review comments 2019-01-28 21:26:06 +08:00
claims.go add expiration of robot account 2019-02-22 18:42:34 +08:00
htoken_test.go add expiration of robot account 2019-02-22 18:42:34 +08:00
htoken.go add expiration of robot account 2019-02-22 18:42:34 +08:00
options_test.go add expiration of robot account 2019-02-22 18:42:34 +08:00
options.go add expiration of robot account 2019-02-22 18:42:34 +08:00