Skip to main content

An AppSyncAuthentication implementation for gql.transport.aiohttp.AIOHTTPTransport using pycognito

Project description

gql-appsync-cognito-authorization

An AppSyncAuthentication implementation for gql.transport.aiohttp.AIOHTTPTransport using pycognito

Installation

pip install gql-appsync-cognito-authentication

Usage

from gql import Client
from gql.transport.aiohttp import AIOHTTPTransport
from gql_appsync_cognito_authentication import AppSyncCognitoAuthentication
from pycognito import Cognito

cognito = Cognito(...)

client = Client(
    transport=AIOHTTPTransport(
        auth=AppSyncCognitoAuthentication(cognito),
        ...
    ),
    ...
)

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

Built Distribution

File details

Details for the file gql-appsync-cognito-authentication-0.0.1.tar.gz.

File metadata

File hashes

Hashes for gql-appsync-cognito-authentication-0.0.1.tar.gz
Algorithm Hash digest
SHA256 43537d9f541ff791a2ec978e992b57de386742c280a2ffaf05820903a3fd0fc9
MD5 613a3d1f3099aa59b48956a3621da2bb
BLAKE2b-256 26e0e009d6bd0ff95e2a2af31e4756723512ecb90b342bf4ff7c5ed525d5c592

See more details on using hashes here.

File details

Details for the file gql_appsync_cognito_authentication-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for gql_appsync_cognito_authentication-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f8e41403d8738a077d54559b7c8c9488a41fa98fb98687d6aaf3a15ba212d98a
MD5 d45e0d27922e99a00cf3cc05a84561be
BLAKE2b-256 fed8e229cb93952a4ee163ebc1efa0ef125103aedca463dc6985dee1c1197bb5

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