build/auth0-angular.js
function(idToken, accessToken, state, refreshToken, profile, isRefresh) {

                  idToken = idToken || (profile ? profile.idToken : null);
                  accessToken = accessToken || (profile ? profile.accessToken : null);
                  state = state || (profile ? profile.state : null);
                  refreshToken = refreshToken || (profile ? profile.refreshToken : null);

                    var profilePromise = auth.getProfile(idToken);

                    var response = {
                        idToken: idToken,
                        accessToken: accessToken,
                        state: state,
                        refreshToken: refreshToken,
                        profile: profile,
                        isAuthenticated: true
                    };

                    $rootScope.isAuthenticated = true;

                    angular.extend(auth, response);
                    callHandler(!isRefresh ? 'loginSuccess' : 'authenticated', angular.extend({
                        profilePromise: profilePromise
                    }, response));

                    return profilePromise;
                }
function(idToken, accessToken, state, refreshToken, profile, isRefresh) {

                  idToken = idToken || (profile ? profile.idToken : null);
                  accessToken = accessToken || (profile ? profile.accessToken : null);
                  state = state || (profile ? profile.state : null);
                  refreshToken = refreshToken || (profile ? profile.refreshToken : null);

                    var profilePromise = auth.getProfile(idToken);

                    var response = {
                        idToken: idToken,
                        accessToken: accessToken,
                        state: state,
                        refreshToken: refreshToken,
                        profile: profile,
                        isAuthenticated: true
                    };

                    $rootScope.isAuthenticated = true;

                    angular.extend(auth, response);
                    callHandler(!isRefresh ? 'loginSuccess' : 'authenticated', angular.extend({
                        profilePromise: profilePromise
                    }, response));

                    return profilePromise;
                }
function ( idToken , accessToken , state , refreshToken , profile , isRefresh ) { idToken = idToken || ( profile ? profile . idToken : null ) ; accessToken = accessToken || ( profile ? profile . accessToken : null ) ; state = state || ( profile ? profile . state : null ) ; refreshToken = refreshToken || ( profile ? profile . refreshToken : null ) ; var profilePromise = auth . getProfile ( idToken ) ; var response = { idToken : idToken , accessToken : accessToken , state : state , refreshToken : refreshToken , profile : profile , isAuthenticated : true } ; $rootScope . isAuthenticated = true ; angular . extend ( auth , response ) ; callHandler ( ! isRefresh ? 'loginSuccess' : 'authenticated' , angular . extend ( { profilePromise : profilePromise } , response ) ) ; return profilePromise ; }
SignIn
SignIn