dist/corbel.with-polyfills.js
function(client) {
                console.log('iamInterface.client.create', client);
                return this.request({
                    url: this._buildUriWithDomain(this.uri),
                    method: corbel.request.method.POST,
                    data: client
                }).then(function(res) {
                    return corbel.Services.getLocationId(res);
                });
            }
function(client) {
                console.log('iamInterface.client.create', client);
                return this.request({
                    url: this._buildUriWithDomain(this.uri),
                    method: corbel.request.method.POST,
                    data: client
                }).then(function(res) {
                    return corbel.Services.getLocationId(res);
                });
            }
function ( client ) { console . log ( 'iamInterface.client.create' , client ) ; return this . request ( { url : this . _buildUriWithDomain ( this . uri ) , method : corbel . request . method . POST , data : client } ) . then ( function ( res ) { return corbel . Services . getLocationId ( res ) ; } ) ; }
Adds a new client.

@method
@memberOf corbel.Iam.ClientBuilder

@param {Object} client                          The client data.
@param {String} client.id                       Client id.
@param {String} client.name                     Client domain (obligatory).
@param {String} client.key                      Client key (obligatory).
@param {String} client.version                  Client version.
@param {String} client.signatureAlghorithm      Signature alghorithm.
@param {Object} client.scopes                   Scopes of the client.
@param {String} client.clientSideAuthentication Option for client side authentication.
@param {String} client.resetUrl                 Reset password url.
@param {String} client.resetNotificationId      Reset password notification id.

@return {Promise} A promise with the id of the created client or fails
with a {@link corbelError}.
Adds a new client .