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
Release history Release notifications | RSS feed
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
- Download URL: gql-appsync-cognito-authentication-0.0.1.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43537d9f541ff791a2ec978e992b57de386742c280a2ffaf05820903a3fd0fc9 |
|
MD5 | 613a3d1f3099aa59b48956a3621da2bb |
|
BLAKE2b-256 | 26e0e009d6bd0ff95e2a2af31e4756723512ecb90b342bf4ff7c5ed525d5c592 |
File details
Details for the file gql_appsync_cognito_authentication-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: gql_appsync_cognito_authentication-0.0.1-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8e41403d8738a077d54559b7c8c9488a41fa98fb98687d6aaf3a15ba212d98a |
|
MD5 | d45e0d27922e99a00cf3cc05a84561be |
|
BLAKE2b-256 | fed8e229cb93952a4ee163ebc1efa0ef125103aedca463dc6985dee1c1197bb5 |