Build an AuthProviderProps object for react-oidc-context from stac-map-friendly inputs, returning undefined when either authority or clientId is missing so the caller can omit the auth prop and run unauthenticated.
AuthProviderProps
react-oidc-context
undefined
authority
clientId
auth
Build an
AuthProviderPropsobject forreact-oidc-contextfrom stac-map-friendly inputs, returningundefinedwhen eitherauthorityorclientIdis missing so the caller can omit theauthprop and run unauthenticated.