Code Monkey home page Code Monkey logo

scribe-java's Introduction

Scribe Java with Layer 7 OAuth Toolkit API support


Layer 7 OAuth Toolkit

What’s different?

  1. Configurable connection parameters Specify the OAuth server in a layer7.properties file. Configuration without compilation!
  2. Layer 7 OAuth 1.0 and 2.0 Connect to a SecureSpan Gateway’s OAuth server in minutes!

OAuth 1.0 support:

Use the provider Layer7Api for OAuth 1.0

OAuthService service = new ServiceBuilder()
        .provider(Layer7Api.class)
        .apiKey("Consumer")
        .apiSecret("Secret")
        .build();

OAuth 2.0:

Use the provider Layer7Api20 for OAuth 1.0

OAuthService service = new ServiceBuilder()
        .provider(Layer7Api20.class)
        .apiKey(apiKey)
        .apiSecret(apiSecret)
        .callback("http://preview.layer7tech.com:8080/oauth/v2/redirect")
        .scope("oob")
        .build();

Configuration:

See the Scribe-Java doc or layer7tech.com for details. Getting Started

Note that it really helps to run scribe on debug mode (since 1.3.0), to get additional info. To do this simply call the .debug() method on the ServiceBuilder.

scribe-java's People

Contributors

fernandezpablo85 avatar diegossilveira avatar dreamcwli avatar boncey avatar dhruvchandna avatar ponyloky avatar arthraim avatar sripathikrishnan avatar adamnengland avatar dwursteisen avatar klakegg avatar brianduff avatar czzhi avatar jamietsao avatar j4y avatar harmsk avatar matthewdlaudato avatar oparrish avatar jaeggir avatar wscoble avatar tomtasche avatar dustismo avatar liuce avatar softprops avatar

Watchers

James Cloos avatar  avatar

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.