MCPcopy Create free account
hub / github.com/Rblp/Rblpapi / authenticate_Impl

Function authenticate_Impl

src/authenticate.cpp:186–196  ·  view source on GitHub ↗

Simpler interface [[Rcpp::export]]

Source from the content-addressed store, hash-verified

184//
185// [[Rcpp::export]]
186SEXP authenticate_Impl(SEXP con_, SEXP uuid_, SEXP ip_address_, SEXP is_auth_id_,
187 SEXP app_name_) {
188 Identity* identity_p = NULL;
189 if (uuid_ == R_NilValue) {
190 identity_p = authenticateWithApp(con_);
191 } else {
192 identity_p = authenticateWithId(con_, uuid_, ip_address_, is_auth_id_, app_name_);
193 }
194 if(identity_p == NULL) { Rcpp::stop("Identity pointer is null\n"); }
195 return createExternalPointer<Identity>(identity_p, identityFinalizer, "blpapi::Identity*");
196}

Callers 1

Calls 2

authenticateWithAppFunction · 0.85
authenticateWithIdFunction · 0.85

Tested by

no test coverage detected