• Модуль: mail
  • Путь к файлу: ~/bitrix/modules/mail/lib/internals/oauth.php
  • Класс: BitrixMailInternalsOAuthTable
  • Вызов: OAuthTable::getMap
static function getMap()
{
	return array(
		'ID' => array(
			'data_type'    => 'integer',
			'primary'      => true,
			'autocomplete' => true,
		),
		'UID' => array(
			'data_type' => 'string',
		),
		'TOKEN' => array(
			'data_type' => (static::cryptoEnabled('TOKENS') ? 'crypto' : 'text'),
		),
		'REFRESH_TOKEN' => array(
			'data_type' => (static::cryptoEnabled('TOKENS') ? 'crypto' : 'text'),
		),
		'TOKEN_EXPIRES' => array(
			'data_type'    => 'integer',
		),
		'SECRET' => array(
			'data_type' => 'string',
		),
	);
}