Skip to content

Documentation for adding remember me functionality in symfony when using package "lexik/jwt-authentication-bundle"

Notifications You must be signed in to change notification settings

h3nnry/Symfony-LexikJWT-RememberMe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Documentation for adding remember me functionality in symfony when using package "lexik/jwt-authentication-bundle"

  • For enable remember me functionality in json object parameters add "_remember_me" set to true.
  • Add JWTCreatedListener to your project.
  • config/services.yml:
services:
  RememberMe\Event\JWTCreatedListener:
    arguments: [ '@request_stack' ]
    tags:
      - { name: kernel.event_listener, event: lexik_jwt_authentication.on_jwt_created, method: onJWTCreated }

About

Documentation for adding remember me functionality in symfony when using package "lexik/jwt-authentication-bundle"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages