You are here

function bakery_user_login in Bakery Single Sign-On System 8.2

Same name and namespace in other branches
  1. 7.4 bakery.module \bakery_user_login()
  2. 7.2 bakery.module \bakery_user_login()
  3. 7.3 bakery.module \bakery_user_login()

Implements hook_user_login().

File

./bakery.module, line 19
For implementing different hooks for bakery SSO functionality.

Code

function bakery_user_login(UserInterface $account) {
  \Drupal::service('bakery.user_service')
    ->login($account);
}