Methods |
public
|
init()
Initializes module.
|
#
|
public
|
onAfterDeleteUser($aArgs, &$mResult)
Deletes all oauth accounts which are owened by the specified user.
Deletes all oauth accounts which are owened by the specified user.
|
#
|
public
|
onGetAccounts(array $aArgs, array &$aResult)
|
#
|
public
|
OAuthIntegratorEntry()
|
#
|
public
|
GetAccount(string $Type, $Email = ''): OauthAccount
Returns oauth account with specified type.
Returns oauth account with specified type.
Parameters
$Type |
Type of oauth account.
|
|
#
|
public
|
UpdateAccount(OauthAccount $oAccount): boolean
Updates oauth acount.
|
#
|
public
|
GetServices(): array
Returns all oauth services names.
Returns all oauth services names.
|
#
|
public
|
GetSettings(): array
Returns all oauth services settings for authenticated user.
Returns all oauth services settings for authenticated user.
Overrides
|
#
|
public
|
UpdateSettings(array $Services): boolean
Updates all oauth services settings.
Updates all oauth services settings.
Parameters
$Services |
Array with services settings passed by reference.
|
|
#
|
public
|
GetAccounts(): array
Get all oauth accounts.
|
#
|
public
|
DeleteAccount(string $Type, $Email = ''): boolean
Deletes oauth account with specified type.
Deletes oauth account with specified type.
Parameters
$Type |
Type of oauth account.
|
|
#
|
public
|
GetAccessToken($sType, $sEmail)
|
#
|
public
|
CreateMailAccount($OAuthAccountData)
|
#
|