iimmpact/iimmpact-php

1.0.0 2021-01-12 09:25 UTC

This package is auto-updated.

Last update: 2024-09-13 13:27:45 UTC


README

This library generated by iimmpact

Requirements

PHP 5.5 and later

Installation & Usage

Composer

composer require iimmpact/iimmpact-php

Tests

To run the unit tests:

composer install
./vendor/bin/phpunit

Getting Started

Please follow the installation procedure and then run the following:

<?php
require_once(__DIR__ . '/vendor/autoload.php');

$apiInstance = new iimmpact\Api\AuthorizationTokenApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
);
$token_request = new \iimmpact\Model\TokenRequest(); // \iimmpact\Model\TokenRequest | 

try {
    $result = $apiInstance->v1TokenPost($token_request);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuthorizationTokenApi->v1TokenPost: ', $e->getMessage(), PHP_EOL;
}

?>

Documentation for API Endpoints

All URIs are relative to https://api.iimmpact.com

Documentation For Models

Documentation For Authorization

IIMMPACT-COGNITO

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

SSO

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

api_key

  • Type: API key
  • API key parameter name: x-api-key
  • Location: HTTP header