Method | Description | |
---|---|---|
__construct ( $slackClientId, $slackClientSecret, Symfony\Component\HttpFoundation\Session\SessionInterface $session, Symfony\Component\Routing\RouterInterface $router, Twig_Environment $twig ) | ||
authenticate ( |
Ask for Slack authentication and store the AccessToken in Session. | |
finish ( |
||
homepage ( ) | ||
retry ( |
||
run ( |
||
summary ( |
Method | Description | |
---|---|---|
getApiClient ( League\OAuth2\Client\Token\AccessToken $token ) : CL\Slack\Transport\ApiClient | ||
getSecretSantaOrThrow404 ( |
||
getSecretSantaSessionKey ( string $hash ) : string | ||
validate ( string[] $selectedUsers, string $message ) : array |
public __construct ( $slackClientId, $slackClientSecret, Symfony\Component\HttpFoundation\Session\SessionInterface $session, Symfony\Component\Routing\RouterInterface $router, Twig_Environment $twig ) | ||
$session | Symfony\Component\HttpFoundation\Session\SessionInterface | |
$router | Symfony\Component\Routing\RouterInterface | |
$twig | Twig_Environment |
public authenticate ( |
||
$request | ||
return |
public finish ( |
||
$request |
public retry ( |
||
$request |
public run ( |
||
$request |
public summary ( |
||
$request |