2017 © Pedro Peláez
 

library lexik-jwt-service-provider

This is a provider for silex 2.0 using lexik jwt authentication provider class to create a encoder

image

anhpha/lexik-jwt-service-provider

This is a provider for silex 2.0 using lexik jwt authentication provider class to create a encoder

  • Friday, November 4, 2016
  • by phavo
  • Repository
  • 1 Watchers
  • 0 Stars
  • 644 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 25 % Grown

The README.md

lexik-jwt-encoder-provider

JWT encoder provider for Silex 2.0 based on LexikJWTAuthenticationBundle, (*1)

Usage

  $ttl = 86400;
        $exp = time() + $ttl;
        $token = $this->container['lexikEncoder']()->encode(['username' => 'test', 'exp' => $exp]);
        $response = new JsonResponse();
        $response->setData(array(
            'token' => $token,
        ));
        //$response = new JsonResponse();
        return $response;

The Versions

04/11 2016

dev-master

9999999-dev

This is a provider for silex 2.0 using lexik jwt authentication provider class to create a encoder

  Sources   Download

The Requires

 

by Anh Pha

26/10 2016

1.0

1.0.0.0

This is a provider for silex 2.0 using lexik jwt authentication provider class to create a encoder

  Sources   Download

The Requires

 

by Anh Pha

26/10 2016

0.3

0.3.0.0

This is a provider for silex 2.0 using lexik jwt authentication provider class to create a encoder

  Sources   Download

The Requires

 

by Anh Pha

26/10 2016

0.2

0.2.0.0

This is a provider for silex 2.0 using lexik jwt authentication provider class to create a encoder

  Sources   Download

The Requires

 

by Anh Pha

26/10 2016

0.1

0.1.0.0

This is a provider for silex 2.0 using lexik jwt authentication provider class to create a encoder

  Sources   Download

The Requires

 

by Anh Pha