Creates a compact, namespace-safe Shiny UI panel for configuring Vantor / Maxar API credentials (API Key or OAuth2 Username/Password), displaying connection status, and optionally checking account credit usage.
Arguments
- id
Character string. The Shiny module namespace ID.
- show_usage
Logical. Include a button and output area to query account credit usage via
vantor_get_usage(). Default isTRUE.
Examples
if (requireNamespace("shiny", quietly = TRUE)) {
ui <- shiny::fluidPage(
vantor_auth_ui("auth")
)
}