Overview

Namespaces

  • Comprobo
    • Verify
      • Auth
      • Exceptions
      • HTTP

Classes

  • Server
  • Overview
  • Namespace
  • Class

Class Server

Server integration for the Authentication microservice

Namespace: Comprobo\Verify\Auth
Located at Auth/Server.php
Methods summary
public
# __construct( Comprobo\Verify\Factory $factory )
public array
# authenticate( string $key, string $secret )

Calls out to the authentication service using the dedicated integration authorisation route.

Calls out to the authentication service using the dedicated integration authorisation route.

Parameters

$key
your integration key
$secret
your integration secret

Returns

array
$body the validated response body

Throws

Comprobo\Verify\Exceptions\Auth
if your credentials are incorrect or the service returns a malformed response
API documentation generated by ApiGen