src/user.js
function(provider) {
        var authType;
        if (_.isString(provider)) {
          authType = provider;
        } else {
          authType = provider.getAuthType();
        }
        var authData = this.get('authData') || {};
        return !!authData[authType];
      }
function(provider) {
        var authType;
        if (_.isString(provider)) {
          authType = provider;
        } else {
          authType = provider.getAuthType();
        }
        var authData = this.get('authData') || {};
        return !!authData[authType];
      }
function ( provider ) { var authType ; if ( _ . isString ( provider ) ) { authType = provider ; } else { authType = provider . getAuthType ( ) ; } var authData = this . get ( 'authData' ) || { } ; return ! ! authData [ authType ] ; }
Checks whether a user is linked to a service.
@private
Checks whether a user is linked to a service .