stable

Clone or download

Read-only

Expired key must not authenticate the user

This is part of story #13667 have an expiration date associated to API AccessKey If you have an expired access key not already deleted, then this key must not authenticate the user if it's used. Change-Id: Ic4a9f51b8eaa7cb343f58ae7a67cffbad67c1fc1

Modified Files

Name
M src/common/User/AccessKey/AccessKeyDAO.php +3 −3 Go to diff View file
M src/common/User/AccessKey/AccessKeyVerifier.php +20 −2 Go to diff View file
A src/common/User/AccessKey/ExpiredAccessKeyException.php +29 −0 Go to diff View file
M tests/phpunit/common/User/AccessKey/AccessKeyVerifierTest.php +27 −8 Go to diff View file