packages/auth/demo/public/script.js
function onUnlinkProvider() {
  var providerId = $('#unlinked-provider-id').val();
  activeUser().unlink(providerId).then(function(user) {
    alertSuccess('Provider unlinked from user.');
    refreshUserData();
  }, onAuthError);
}
function onUnlinkProvider() {
  var providerId = $('#unlinked-provider-id').val();
  activeUser().unlink(providerId).then(function(user) {
    alertSuccess('Provider unlinked from user.');
    refreshUserData();
  }, onAuthError);
}
function onUnlinkProvider ( ) { var providerId = $ ( '#unlinked-provider-id' ) . val ( ) ; activeUser ( ) . unlink ( providerId ) . then ( function ( user ) { alertSuccess ( 'Provider unlinked from user.' ) ; refreshUserData ( ) ; } , onAuthError ) ; }
Unlinks the specified provider.
Unlinks the specified provider .