EOAuth2Service::init PHP Method

init() public method

public init ( $component, $options = [] )
    public function init($component, $options = array())
    {
        parent::init($component, $options);
        // Try to restore access token from session.
        $this->restoreAccessToken();
    }

Usage Example

Exemplo n.º 1
0
 public function init($component, $options = array())
 {
     parent::init($component, $options);
     $this->getConf();
 }