Interface defining functionality for fetching extra data during the authentication process.
Authentication filters which support fetching additional data during the authentication process can implement this interface.
Source for this file: /Authentication/src/interfaces/data_fetch.php
Version: | //autogen// |
public array(string=>mixed) |
fetchData(
)
Returns the extra data fetched during the authentication process. |
public void |
registerFetchData(
[ $data
= array()] )
Registers which extra data to fetch during the authentication process. |
Returns the extra data fetched during the authentication process.
The return is something like this:
The extra data that is possible to return depends on the authentication filter. Please read the description of each filter to find out what extra data is possible to fetch.
Registers which extra data to fetch during the authentication process.
The input $data should be an array of attributes to request, for example:
The extra data that is possible to return depends on the authentication filter. Please read the description of each filter to find out what extra data is possible to fetch.
Name | Type | Description |
---|---|---|
$data |
array(string) | A list of attributes to fetch during authentication |