Git Product home page Git Product logo

Comments (3)

witoldsz avatar witoldsz commented on September 24, 2024

Did you see demo application?

Regards,

Witold Szczerba

Sent from my mobile phone.
On Mar 22, 2013 1:20 AM, "drozzy" [email protected] wrote:

Any chance of a more complete doc or fuller example (with controller)?

Thanks


Reply to this email directly or view it on GitHubhttps://github.com//issues/14
.

from angular-http-auth.

drozzy avatar drozzy commented on September 24, 2024

Yes! But it is still too complicated :-)
I was hoping for a "tutorial" style doc - but I guess that's too time consuming.
For example, I am not sure why you need to store and retry all the requests at all... instead of just throwing them away.. what's the advantage?

from angular-http-auth.

witoldsz avatar witoldsz commented on September 24, 2024

You can either store them and retry later (when user logs in again) or you have to reject them. In first case your controllers or services are not aware of any obstacles that had happened. There is no need to handle 401 errors in each and every possible place in code. This is not the case if you reject requests due to 401 error.

from angular-http-auth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.