Skip to content

InternationalCodeCouncil/aws-cognito

 
 

Repository files navigation

pmill/aws-cognito

Downloads Build Status

Introduction

This library contains a PHP client for AWS Cognito user pools.

Requirements

This library package requires PHP 7.1 or later

Installation

Installing via Composer

The recommended way to install is through Composer.

# Install Composer
curl -sS https://getcomposer.org/installer | php

Next, run the Composer command to install the latest version:

php composer.phar require pmill/aws-cognito

Usage

There are example usage scripts in the examples/ folder, copy examples/config.example.php to examples/config.php before running them.

Version History

0.2.11 (06/01/2020)

Added method to get a user by an access token - bjoernHeneka

0.2.10 (21/10/2019)

0.2.9 (17/10/2019)

  • Added method to all administrators to delete a user - bjoernHeneka

0.2.8 (28/01/2019)

  • Added method to get user groups - abelland

0.2.7 (17/08/2018)

  • Added method to get user details - brettmc

0.2.6 (27/06/2018)

  • Added method to update a user's custom variables - bjoernHeneka

0.2.5 (26/06/2018)

0.2.4 (22/04/2018)

  • Bugfix - Cognito::signUp requires string attributes

0.2.3 (27/01/2018)

  • Mapped additional error responses to exceptions

0.2.2 (27/01/2018)

  • Added handling for password reset required responses

0.2.1 (25/01/2018)

  • Added method to return full token payload

0.2.0 (25/01/2018)

  • Replaced spomky-labs/jose library with web-token/jwt-signature
  • Added handling for authentication challenges
  • Removed jwt key set caching code, replaced with getter/setter

0.1.3 (12/11/2017)

  • Returned generated cognito username when registering

0.1.2 (20/05/2017)

  • Added method to refresh authentication tokens

0.1.1 (30/04/2017)

  • Returned username when verifying access tokens

0.1.0 (28/04/2017)

  • First public release of aws-cognito

Copyright

pmill/aws-cognito Copyright (c) 2017 pmill ([email protected]) All rights reserved.

About

A PHP library for AWS Cognito user pools

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%