| Methods Summary | ||
|---|---|---|
public static
|
||
public
|
#
__construct( Comprobo\Verify\Factory $factory )
Used by the factory itself. If you happen to need to instantiate the API this way then you can.
|
|
public
|
||
public
|
||
public
|
#
authenticate( $key , $secret )
Use your application key and secret
to set JWT token and organisation ID
in the current API context
After this is called, you may continue to use the rest of the API
methods provided here.
|
|
public
|
||
public
|
||
public
|
||
public
|
#
createUser( string $userId , string $firstName , string $lastName , string $email = NULL )
Create a user account to run the verify instance under.
Normally this will be per-user of your system.
*
|
|
public
|
#
setReferencePhoto( string $userId , array $file )
Upload reference photo
Normally this will be per-user of your system, upload a file into comprobo to use as a reference image
for facial comparison
|
|
| Constants Summary | ||
|---|---|---|
public
string
|
DEFAULT_ENV
|
#
'production'
|