There was an error while loading. Please reload this page.
Контроллер для обеспечения твиттер-авторизации
Для настройки twitter-авторизации необходимо указать ключи в конфигурации - раздел auth.php:
auth.php
return [ "hybridauth" => [ "providers" => [ "twitter" => [ // 'key' is your twitter application consumer key "enabled" => true, "keys" => ["key" => "%%consumerKey%%", "secret" => "%%consumerSecret%%"] ] ] ] ];
Для вывода кнопки авторизации через твитер достаточно вызвать контроллер модуля:
<?php $this->dispatch('twitter', 'widgets/auth'); ?>
Database standards Requirements Server Notes — HTML and CSS — JavaScript — Database Modules — ACL — API — Cache — Categories — Comments — Media — Options — Pages — System — Tests — Twitter — Users