Observers pending auth requests. The returned observable will emit all current active auth request, at most one for each created auth requester.
Each request has its own info about the login provider, forwarded from the auth requester options.
Depending on user interaction, the request should either be rejected, or used to trigger the auth handler. If the request is rejected, all pending AuthRequester calls will fail with a "RejectedError". If a auth is triggered, and the auth handler resolves successfully, then all currently pending AuthRequester calls will resolve to the value returned by the onAuthRequest call.
A utility for showing login popups or similar things, and merging together multiple requests for different scopes into one request that includes all scopes.
The passed in options provide information about the login provider, and how to handle auth requests.
The returned AuthRequester function is used to request login with new scopes. These requests are merged together and forwarded to the auth handler, as soon as a consumer of auth requests triggers an auth flow.
See AuthRequesterOptions, AuthRequester, and handleAuthRequests for more info.
Provides helpers for implemented OAuth login flows within Backstage.