2017 © Pedro Peláez
 

typo3-flow-package jwt

A authentication provider based on POST which replies in JSON

image

rfy/jwt

A authentication provider based on POST which replies in JSON

  • Wednesday, September 28, 2016
  • by svparijs
  • Repository
  • 1 Watchers
  • 0 Stars
  • 20 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

RFY.JWT

Code Climate Test Coverage Build Status, (*1)

This package is meant to make a TOKEN authentication possible for any request authentication attempt., (*2)

The possible responses are:, (*3)

  • AuthenticationSuccessfull which returns the authentication JWT token
  • AuthenticationFailure which returns a message with the corresponding error code

Getting started

To start using this package you will need to follow the following steps:, (*4)

Include this package into your Neos Flow application by running:, (*5)

composer require rfy/jwt

Add the below YAML to the projects Configuration/Routes.yaml:, (*6)

-
  name: 'Token'
  uriPattern: '<TokenSubroutes>'
  defaults:
    '@format': 'json'
  subRoutes:
    TokenSubroutes:
      package: RFY.JWT

By default the security features are enabled in this package by these settings:, (*7)

Neos:
  Flow:
    security:
      authentication:
        providers:
          'BackendProvider':
            provider: 'RFY\JWT\Security\Authentication\Provider\PersistedApiTokenProvider'
            token: 'RFY\JWT\Security\Authentication\Token\ApiToken'
            entryPoint: 'HttpBasic'

You of course overwrite these settings based on your wishes., (*8)

References:

This implementation requires the Firebase JWT package., (*9)

Authors:

Author: Sebastiaan van Parijs (svparijs@rfy.io), (*10)

Feedback & Reviews:

Reviewer: Bastian Waidelich, (*11)

License

The MIT License (MIT). Please see License File for more information., (*12)

The Versions

28/09 2016

dev-master

9999999-dev

A authentication provider based on POST which replies in JSON

  Sources   Download

MIT

The Requires

 

The Development Requires