2017 © Pedro Peláez
 

symfony-bundle api-security-bundle

Helthe API Security bundle for Symfony 2

image

helthe/api-security-bundle

Helthe API Security bundle for Symfony 2

  • Tuesday, May 27, 2014
  • by carlalexander
  • Repository
  • 1 Watchers
  • 0 Stars
  • 21 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Helthe Api Security Bundle Build Status Scrutinizer Quality Score

Helthe Api Security Bundle integrates the Helthe API Security Component with your Symfony2 application., (*1)

Installation

Step 1: Add package requirement in Composer

Manually

Add the following in your composer.json:, (*2)

{
    "require": {
        // ...
        "helthe/api-security-bundle": "~1.0"
    }
}

Using the command line

$ composer require 'helthe/api-security-bundle=~1.0'

Step 2: Register the bundle in the kernel

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Helthe\Bundle\ApiSecurityBundle\HeltheApiSecurityBundle(),
    );
}

Usage

User Provider

The Helthe API security component provides its own UserProviderInterface that must implemented by the user provider supplied to the Symfony firewall using api key authentication., (*3)

Firewall

To add api key authentication, simply add the api_key in your firewall configuration as shown below:, (*4)

# security.yml
security:
    firewalls:
        api:
            api_key:
                name:   helthe-api-key
                method: http_header

Bugs

For bugs or feature requests, please create an issue., (*5)

The Versions

27/05 2014

dev-master

9999999-dev https://helthe.co

Helthe API Security bundle for Symfony 2

  Sources   Download

MIT

The Requires

 

by Carl Alexander

api authentication security apikey api security

21/02 2014

1.0.0

1.0.0.0 https://helthe.co

Helthe API Security bundle for Symfony 2

  Sources   Download

MIT

The Requires

 

by Carl Alexander

api authentication security apikey api security