PHP code example of ccuffs / auth-iduffs
1. Go to this page and download the library: Download ccuffs/auth-iduffs library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ccuffs / auth-iduffs example snippets
$auth = new CCUFFS\Auth\AuthIdUFFS();
$info = $auth->login([
'user' => 'meuIdUFFS',
'password' => 'minhaSenha'
]);
object(stdClass)
public 'username' => string
public 'uid' => string
public 'email' => string
public 'pessoa_id' => string
public 'name' => string
public 'cpf' => string
public 'location' => string
public 'token_id' => string
public 'authenticated' => boolean