Code Monkey home page Code Monkey logo

Comments (4)

AArnott avatar AArnott commented on July 19, 2024

What is the scenario behind why you want to generate signatures for anything other than outgoing or incoming network requests?

from dotnetopenauth.

tlianza avatar tlianza commented on July 19, 2024

In my case I'm using MVC to handle the requests, and it's designed in such a way that it can handle requests from a website (people logged-in with regular forms-based auth) and OAuth-based requests. So, I'm handling the incoming network requests myself so that I can re-use the same actions in both places (somewhat similar to how you'd use ActiveResource in Rails).

from dotnetopenauth.

AArnott avatar AArnott commented on July 19, 2024

That sounds good. Using the same actions regardless of authorization method is definitely a good idea. It seems that an HTTP authorization module (or whatever the MVC-friendly equivalent is) would be an appropriate fit here. For instance, one of the DNOA samples includes an OAuth HTTP authorization module that works in conjunction with the module that does forms based auth. Yet no custom signature method was needed -- just what DNOA offered out of the box.

from dotnetopenauth.

AArnott avatar AArnott commented on July 19, 2024

Closing due to non-response.

from dotnetopenauth.

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.