"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "keystone/receipt/providers/base.py" between
keystone-16.0.1.tar.gz and keystone-17.0.0.tar.gz

About: OpenStack Keystone (Core Service: Identity) provides an authentication and authorization service for other OpenStack services. Provides a catalog of endpoints for all OpenStack services.
The "Ussuri" series (latest release).

base.py  (keystone-16.0.1):base.py  (keystone-17.0.0)
skipping to change at line 17 skipping to change at line 17
# http://www.apache.org/licenses/LICENSE-2.0 # http://www.apache.org/licenses/LICENSE-2.0
# #
# Unless required by applicable law or agreed to in writing, software # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
import abc import abc
import six
from keystone import exception from keystone import exception
@six.add_metaclass(abc.ABCMeta) class Provider(object, metaclass=abc.ABCMeta):
class Provider(object):
"""Interface description for a Receipt provider.""" """Interface description for a Receipt provider."""
@abc.abstractmethod @abc.abstractmethod
def validate_receipt(self, receipt_id): def validate_receipt(self, receipt_id):
"""Validate a given receipt by its ID and return the receipt_data. """Validate a given receipt by its ID and return the receipt_data.
:param receipt_id: the unique ID of the receipt :param receipt_id: the unique ID of the receipt
:type receipt_id: str :type receipt_id: str
:returns: receipt data as a tuple in the form of: :returns: receipt data as a tuple in the form of:
 End of changes. 2 change blocks. 
4 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)