public function oAuth($env = null, $data = [])
    {
        $this->oAuth2Credential = (new OAuth2($env))->userCredentials($data);

        return $this;

    }
public function oAuth($env = null, $data = [])
    {
        $this->oAuth2Credential = (new OAuth2($env))->userCredentials($data);

        return $this;

    }
public function oAuth ( $ env = null , $ data = [ ] ) { $ this -> oAuth2Credential = ( new OAuth2 ( $ env ) ) -> userCredentials ( $ data ) ; return $ this ; }
Create OAuth2 credential

@param null $env
@param array|null $data
@return $this
Create OAuth2 credential