cm2tech/soluti-bird-id-symfony-bundle

Integration of soluti/bird-id with Symfony

dev-master / 1.0.x-dev 2019-10-11 12:31 UTC

This package is not auto-updated.

Last update: 2024-04-17 12:19:35 UTC


README

Installation

$ composer require cm2tech/soluti-bird-id-symfony-bundle

Available Routes

Usage

use Soluti\BirdIdSymfonyBundle\Service\OauthService as BirdIdOauthService;
use Soluti\BirdIdSymfonyBundle\Request\ClientToken as ClientTokenRequest;

$clientTokenRequest = new ClientTokenRequest(
    'client_id_here',
    'client_secret_here'
);

$response = BirdIdOauthService::clientToken($clientTokenRequest);

// var_dump($response->getStatusCode());
// var_dump($response->getContent(false));