OptionalbazaarPublic URI for the API & OAuth server.
The URI the auth server redirects to with an auth code after login request approval.
OptionalonProvide a callback to handle API connections. Will be called after login and any subsequent re-connection.
OptionalonProvide a callback for when the server refuses the user: unauthorized, or expired token. Network and server failures don't count: the connection keeps trying, and restores subscriptions once it's back.
OptionalonProvide a callback to handle a successful login.
e.g. Set state, redirect, etc.
OptionalonProvide a callback to handle a failed login. E.g. invalid authorization code.
e.g. Set state, redirect, etc.
Options for initializing a BazaarApp instance