Description[Webapp Refactor] Group authentications properties into remoting.CredentialsProvider.
Currently, the connect call of the clientPlugin requires a
fetchPinCallback, a fetchThirdPartyTokenCallback, an accessCode and a pairingInfo.
This fields are passed down all the way from crd_connect.js to the plugin via
sessionConnector and clientSession. As a result, each of the intermediary layers
has its own member variables to cached those properties
This CL creates a new class remoting.CredentialsProvider that represents connection
credentials. This also eliminates a set of callbacks and useAsyncPinDialog() on the
client plugin interface, which make the credentials negotiation flow between the
plugin and the client session less chatty.
BUG=462383
Committed: https://crrev.com/a656e72c2ba19305be86a1edf05af5446240bda0
Cr-Commit-Position: refs/heads/master@{#318768}
Patch Set 1 : #
Total comments: 12
Patch Set 2 : Reviewer's feedback #Patch Set 3 : Remove supports() #
Total comments: 1
Messages
Total messages: 13 (4 generated)
|