Coder Social home page Coder Social logo

OAuth set configuration? about bnet HOT 3 CLOSED

jyggen avatar jyggen commented on September 26, 2024
OAuth set configuration?

from bnet.

Comments (3)

jyggen avatar jyggen commented on September 26, 2024

Documentation will be available closer to the 1.0 release, but for now you can instantiate the OAuth provider like this:

$oauth = new OAuth(new Region(Region::EUROPE), [
    'clientId'     => 'client-id-here',
    'clientSecret' => 'client-secret-here',
    'redirectUri'  => 'redirect-here'
]);

After this you use the provider like described in the oauth2-client documentation.

I'm glad you find the package useful, but please note that it's still under development, especially the OAuth class, and things will regularly break up until the 1.0 release. Cheers!

from bnet.

morloderex avatar morloderex commented on September 26, 2024

@jyggen Thanks for the information i'll try it out soon 👍

I hope you'll keep updating this package with when new api changes is likely to take place once WoD hits 👍

And also great work!

from bnet.

jyggen avatar jyggen commented on September 26, 2024

Thanks! I definitely plan to support the changes WoD will bring to the API.

from bnet.

Related Issues (15)

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.