dist/corbel.with-polyfills.js
function() {
                console.log('oauthInterface.authorization.dialog');
                var that = this;

                return this.request({
                        url: this._buildUri(this.uri + '/authorize'),
                        method: corbel.request.method.GET,
                        dataType: 'text',
                        withCredentials: true,
                        query: corbel.utils.toURLEncoded(this.params.data),
                        noRedirect: true,
                        contentType: corbel.Oauth._URL_ENCODED
                    })
                    .then(function(res) {
                        var params = {
                            url: corbel.Services.getLocation(res),
                            withCredentials: true
                        };
                        return that.request(params);
                    });
            }
function() {
                console.log('oauthInterface.authorization.dialog');
                var that = this;

                return this.request({
                        url: this._buildUri(this.uri + '/authorize'),
                        method: corbel.request.method.GET,
                        dataType: 'text',
                        withCredentials: true,
                        query: corbel.utils.toURLEncoded(this.params.data),
                        noRedirect: true,
                        contentType: corbel.Oauth._URL_ENCODED
                    })
                    .then(function(res) {
                        var params = {
                            url: corbel.Services.getLocation(res),
                            withCredentials: true
                        };
                        return that.request(params);
                    });
            }
function ( ) { console . log ( 'oauthInterface.authorization.dialog' ) ; var that = this ; return this . request ( { url : this . _buildUri ( this . uri + '/authorize' ) , method : corbel . request . method . GET , dataType : 'text' , withCredentials : true , query : corbel . utils . toURLEncoded ( this . params . data ) , noRedirect : true , contentType : corbel . Oauth . _URL_ENCODED } ) . then ( function ( res ) { var params = { url : corbel . Services . getLocation ( res ) , withCredentials : true } ; return that . request ( params ) ; } ) ; }
Does a login with stored cookie in oauth server
@method
@memberOf corbel.Oauth.AuthorizationBuilder
@return {Promise} Q promise that resolves to a redirection to redirectUri or rejects with a 404 {@link CorbelError}
Does a login with stored cookie in oauth server