2017 © Pedro Peláez
 

library valentin-laravel-aws-cognito

A Laravel guard for AWS Cognito user pools

image

lamhuyvu92/valentin-laravel-aws-cognito

A Laravel guard for AWS Cognito user pools

  • Thursday, July 26, 2018
  • by lamhuyvu92
  • Repository
  • 1 Watchers
  • 0 Stars
  • 20 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 567 % Grown

The README.md

lamhuyvu92/valentin-laravel-aws-cognito

Introduction

This library contains a Laravel guard and authentication implementation for AWS Cognito user pools., (*1)

Requirements

This library package requires PHP 7.0 or later, (*2)

Installation

Installing via Composer

The recommended way to install is through Composer., (*3)

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

Next, run the Composer command to install the latest version:, (*4)

composer global require lamhuyvu92/valentin-laravel-aws-cognito:dev-master

Usage

Add the service provider to the providers array in config/app.php., (*5)

'providers' => [
    ...
    lamhuyvu92\LaravelAwsCognito\ServiceProvider::class,
    ...
]

Add the middleware to either the middleware groups or the middleware array in app/Http/Kernel.php., (*6)

protected $middlewareGroups = [
    'api' => [
        ...
        lamhuyvu92\LaravelAwsCognito\Middleware\CognitoAuthenticationMiddleware,
        ...
    ],
];
protected $routeMiddleware = [
    ...
    'aws-cognito' => lamhuyvu92\LaravelAwsCognito\Middleware\CognitoAuthenticationMiddleware,
    ...
];

Publish then edit the config file., (*7)

php artisan vendor:publish --provider="lamhuyvu92\LaravelAwsCognito\ServiceProvider"

Edit the config/auth.php file:, (*8)

'guards' => [
    'aws-cognito' => [
        'driver' => 'aws-cognito',
        'provider' => 'eloquent',
    ],
],

Reference from pmill/laravel-aws-cognito Copyright (c) 2018 valentin (lamhuyvu92@gmail.com), (*9)

The Versions

26/07 2018

1.0.5

1.0.5.0 https://github.com/lamhuyvu92/valentin-laravel-aws-cognito

A Laravel guard for AWS Cognito user pools

  Sources   Download

MIT

The Requires

 

by Avatar lamhuyvu92

laravel api authentication php aws guard cognito

26/07 2018

dev-master

9999999-dev https://github.com/lamhuyvu92/valentin-laravel-aws-cognito

A Laravel guard for AWS Cognito user pools

  Sources   Download

MIT

The Requires

 

by Avatar lamhuyvu92

laravel api authentication php aws guard cognito

25/07 2018

1.0.4

1.0.4.0 https://github.com/lamhuyvu92/valentin-laravel-aws-cognito

A Laravel guard for AWS Cognito user pools

  Sources   Download

MIT

The Requires

 

by Avatar lamhuyvu92

laravel api authentication php aws guard cognito

09/07 2018

1.0.3

1.0.3.0 https://github.com/lamhuyvu92/valentin-laravel-aws-cognito

A Laravel guard for AWS Cognito user pools

  Sources   Download

MIT

The Requires

 

by Avatar lamhuyvu92

laravel api authentication php aws guard cognito

22/05 2018

1.0.2

1.0.2.0 https://github.com/lamhuyvu92/valentin-laravel-aws-cognito

A Laravel guard for AWS Cognito user pools

  Sources   Download

MIT

The Requires

 

by Avatar lamhuyvu92

laravel api authentication php aws guard cognito

10/05 2018

1.0.0

1.0.0.0 https://github.com/lamhuyvu92/valentin-laravel-aws-cognito

A Laravel guard for AWS Cognito user pools

  Sources   Download

MIT

The Requires

 

by Avatar lamhuyvu92

laravel api authentication php aws guard cognito