This PR adds the ability to change the sign-out scopes from the default global scope.
What is the current behavior?
Calling signout always signs out from the global scope. There is no way to change to a different scope.
What is the new behavior?
Calling signOut now has a parameter to allow signing out from a different scope. To preserve backward compatibility and ensure parity with the js version, the parameter defaults to the global scope so there is no difference functionally.
What kind of change does this PR introduce?
This PR adds the ability to change the sign-out scopes from the default global scope.
What is the current behavior?
Calling signout always signs out from the global scope. There is no way to change to a different scope.
What is the new behavior?
Calling
signOut
now has a parameter to allow signing out from a different scope. To preserve backward compatibility and ensure parity with the js version, the parameter defaults to the global scope so there is no difference functionally.