_id = $id; return $identitiy; } } public static function findIdentityByAccessToken($token, $type = null) { throw new NotSupportedException(); } public function getId() { return $this->_id; } public function getAuthKey() { return 'ABCD1234'; } public function validateAuthKey($authKey) { return $authKey === 'ABCD1234'; } }