Skip to main content

The Halo Third Party SDK Events package provides support for verifying the authenticity of events.

Project description

Halo Third Party SDK Events - Base components for verifying Halo Events

Halo Third Party SDK Events package is an extension package that will let developers verify the authenticity of events.

What is Halo Third Party SDK for Python

The Halo Third Party SDK for Python makes it easier for you to verify events and allows you to spend more time on implementing features and less on writing boiler-plate code.

Difference between 2.x and 1.x versions

Message validation was changed as a part of a security campaign.

Quick Start

Installation

Assuming that you have Python and virtualenv installed, you can install the package from PyPi as follows:

$ virtualenv venv
$ . venv/bin/activate
$ pip install halo-third-party-sdk-events

This package is not installed along-side halo-third-party-sdk-events standard distribution, and has to be installed separately.

Usage and Getting Started

Example usage

# 1. Import the necessary modules.
import halo_third_party_sdk_events.event_verification_handler

# 2. Create handler object, if no arguments supplied both time and signature verifiers are used.
verifier = halo_third_party_sdk_events.event_verification_handler.EventVerificationHandler()

# 3. Call verify request with request headers and event body.
verifier.verify_request_and_dispatch(requestHeaders, body)

Opening Issues

For bug reports, feature requests and questions, we would like to hear about it. Search the [existing issues](https://github.com/amzn/halo-third-party-sdk-for-python/issues) and try to make sure your problem doesn’t already exist before opening a new issue. It’s helpful if you include the version of the SDK and Python you are using. Please include a stack trace and reduced repro case when appropriate.

License

This SDK is distributed under the Apache License, Version 2.0, see LICENSE for more information.

CHANGELOG

2.0.0

  • Message validation was changed as a part of a security campaign.

1.0.0

  • Initial release of Halo Third Party SDK.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

halo-third-party-sdk-events-2.0.0.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

halo_third_party_sdk_events-2.0.0-py2.py3-none-any.whl (16.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file halo-third-party-sdk-events-2.0.0.tar.gz.

File metadata

File hashes

Hashes for halo-third-party-sdk-events-2.0.0.tar.gz
Algorithm Hash digest
SHA256 9287d0da6891bc61c2f4cf2516120ce0f1a5f1dc4a2c68351dda197bc1aef839
MD5 567e854f819fb675353b20624018feed
BLAKE2b-256 554ab3f646bfdcffe08b571c61d89885bcea5eb56331f02201c2eb4db571186e

See more details on using hashes here.

File details

Details for the file halo_third_party_sdk_events-2.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for halo_third_party_sdk_events-2.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 33d85dd53fc54208e837d145121b6d7b705bc02343e15ba1fbdb7e8243dfeee3
MD5 f74147af29427eae5c2158973e355ef1
BLAKE2b-256 3e5f73cbf50baf73166794716e725ae85ae7facd92f7594105c662ad8356c7ea

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page