dist/evrythng.js
function _createAnonymousUser() {
    var $this = this;

    return EVT.api({
      url: this.path,
      method: 'post',
      params: {
        anonymous: true // must be set to create anonymous user
      },
      data: {},
      authorization: this.scope.apiKey
    }).then(function (access) {
        // Create User Scope
        return new EVT.User({
          id: access.evrythngUser,
          apiKey: access.evrythngApiKey,
          type: 'anonymous'
        }, $this.scope);
    });
  }
function _createAnonymousUser() {
    var $this = this;

    return EVT.api({
      url: this.path,
      method: 'post',
      params: {
        anonymous: true // must be set to create anonymous user
      },
      data: {},
      authorization: this.scope.apiKey
    }).then(function (access) {
        // Create User Scope
        return new EVT.User({
          id: access.evrythngUser,
          apiKey: access.evrythngApiKey,
          type: 'anonymous'
        }, $this.scope);
    });
  }
function _createAnonymousUser ( ) { var $this = this ; return EVT . api ( { url : this . path , method : 'post' , params : { anonymous : true // must be set to create anonymous user } , data : { } , authorization : this . scope . apiKey } ) . then ( function ( access ) { // Create User Scope return new EVT . User ( { id : access . evrythngUser , apiKey : access . evrythngApiKey , type : 'anonymous' } , $this . scope ) ; } ) ; }
Create an anonymous user It's a somewhat different process since anonymous users are created "good to go", they don't need validation.
Create an anonymous user It s a somewhat different process since anonymous users are created good to go they don t need validation .