Skip to main content

No project description provided

Project description

Authivate (Python SDK)

This is the official python package for the Authivate service.

Authivate is an easy-to-use User Authentication and Management service.

Install

To Install, using pip

pip install authivate

Using poetry

poetry add authivate

Example Usage

from authivate import  Authivate, AuthivateConfig
from pprint import pprint



# Initialize AuthivateConfig
authivate_config = AuthivateConfig(api_key="your-api-key", project_id="project-id")

# Create an instance of Authivate
authivate_instance = Authivate(config=authivate_config)

# Add user to waitlist
"""Response
{'message': 'Yah!, you are now on the waitlist for {project name}. Please confirm your email to seal your spot'}
"""

authivate_instance.add_user_to_waitlist(authivate_instance)

# Get all users
pprint(authivate_instance.get_all_users())

"""
Response
{'user_records': [
    {'country_code': 'NG',
                'country_name': 'Nigeria',
                'date_created': '2023-12-23T04: 47: 30.776501Z',
                'fields': {
                    'email': 'email@mail.com',
                    'first_name': 'John',
                    'last_name': 'Doe'
                    },
                'is_verified': False,
                'status_in_project': 'WAITLISTED',
                'user_unique_id': 'edg0aoyleai.0iael0ya'
    },
    {'country_code': 'NG',
                'country_name': 'Nigeria',
                'date_created': '2023-12-23T04: 54: 38.697351Z',
                'fields':  {
                    'email': 'email2@mail.com',
                    'first_name': 'Peter',
                    'last_name': 'Akande'
                    },
                'is_verified': False,
                'status_in_project': 'WAITLISTED',
                'user_unique_id': 'decwc.oyeyayaiioadeb'
    }
]
}
"""

PS

If you have used authivate before now June 17, 2024, what you think of authivate is definitely different from what it is now. it was completely rewritten to support only waitlist collection.

Thanks, Peter.

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

authivate-0.2.2.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

authivate-0.2.2-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file authivate-0.2.2.tar.gz.

File metadata

  • Download URL: authivate-0.2.2.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.8.2 Darwin/23.0.0

File hashes

Hashes for authivate-0.2.2.tar.gz
Algorithm Hash digest
SHA256 3fdceb4721145457e327d1535e1d1485368d9ed4ef3c9aa3cf4e839fb8447c45
MD5 3c6690f76c3c2c9b7c9b224c1f0e6ecd
BLAKE2b-256 938949c31697bfcb467a4ca19153558f581fe3e3f993cde1647abe4756a6dbaf

See more details on using hashes here.

File details

Details for the file authivate-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: authivate-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.8.2 Darwin/23.0.0

File hashes

Hashes for authivate-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 60a666a637a8707a9d62174cad5c4a3f2913fb56097e4c297ee7be9ea48ae8d2
MD5 1d58afd5d4994921522daf90abf2dd69
BLAKE2b-256 fe5736b98b95a3c8884720caec41d5d7504c23fc985166bfe2c65b12bb6c0d6d

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