How to update BasicAuth

Hi,

I use BasicAuth like following:

auth = dash_auth.BasicAuth(
    app,
    VALID_USERNAME_PASSWORD_PAIRS
)

Now, VALID_USERNAME_PASSWORD_PAIRS is to be ready from a file continuously, how may I make sure that auth will get updated too.