protected function loadAuthParams($params)
    {
        if (isset($params['authParams'])) {
            if ($params['authParams'] instanceof AuthParams) {
                $this->authParams = $params['authParams'];
            } elseif (is_array($params['authParams'])) {
                $this->authParams = new AuthParams($params['authParams']);
            }
        }
    }
protected function loadAuthParams($params)
    {
        if (isset($params['authParams'])) {
            if ($params['authParams'] instanceof AuthParams) {
                $this->authParams = $params['authParams'];
            } elseif (is_array($params['authParams'])) {
                $this->authParams = new AuthParams($params['authParams']);
            }
        }
    }
protected function loadAuthParams ( $ params ) { if ( isset ( $ params [ 'authParams' ] ) ) { if ( $ params [ 'authParams' ] instanceof AuthParams ) { $ this -> authParams = $ params [ 'authParams' ] ; } elseif ( is_array ( $ params [ 'authParams' ] ) ) { $ this -> authParams = new AuthParams ( $ params [ 'authParams' ] ) ; } } }
Load Authentication Parameters

@param array $params
@return void
Load Authentication Parameters