Closed JosiahParry closed 9 months ago
This PR addresses the need for complete token handling overhaul as described in https://github.com/R-ArcGIS/arcgislayers/discussions/132
set_auth_token()
set_arc_token()
arc_token()
arcgis_host
fetch_layer_metadata()
count_features()
httr2_token
arc_base_req()
{arcgislayers}
FYI - info returned by arc.check_portal():
arc.check_portal()
Closes https://github.com/R-ArcGIS/arcgisutils/issues/11
This PR addresses the need for complete token handling overhaul as described in https://github.com/R-ArcGIS/arcgislayers/discussions/132
set_auth_token()
is removed in favor ofset_arc_token()
set_arc_token()
can set a single token or many tokens as key-value pairsarc_token()
TODO
arcgisutils
arcgis_host
field in the token after being createdarcgis_host
fetch_layer_metadata()
refactorremoved from package since unused in arcgislayerscount_features()
arcgislayers
httr2_token
objectFollow up tasks:
set_auth_token()
arc_base_req()
in all functions in{arcgislayers}
to ensure that tokens are handled correctly