openstackid/app/libs/OpenId/Exceptions/ReplayAttackException.php
Sebastian Marcet 76c37b61e6 Reduced OpenID log noise
* added a base class for all openid exceptions
* moved invalid assoc exception from 500 to 400
* fixed bug on openid mememto request

Change-Id: I82d7c2077f1bd507b37ad3561fea924fb87d5353
2017-08-11 12:43:43 -03:00

26 lines
924 B
PHP

<?php namespace OpenId\Exceptions;
/**
* Copyright 2016 OpenStack Foundation
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
/**
* Class ReplayAttackException
* @package OpenId\Exceptions
*/
class ReplayAttackException extends OpenIdBaseException {
public function __construct($message = "")
{
$message = "Possible Replay Attack : " . $message;
parent::__construct($message, 0, null);
}
}