GithubHelp home page GithubHelp logo

Need JS code for oauth2 about gwt-oauth2 HOT 4 CLOSED

reinert avatar reinert commented on August 25, 2024
Need JS code for oauth2

from gwt-oauth2.

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 25, 2024
I've got a change in the works to make the necessary functionality available to 
pure JS and to have the GWT compiler package it up as a single JS file. The 
change also includes sample code for calling from JS.

Original comment by [email protected] on 31 Aug 2011 at 1:34

  • Changed state: Started

from gwt-oauth2.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 25, 2024
Cool. I can not wait:)

I downloaded the files of example, and it works great. 

Is it possible to know whether there is a connection to one of the sites? When 
loading the page?

Something like:

$(function($) {

    var isConnected = auth2plugin.getSessionState();


});

Original comment by [email protected] on 31 Aug 2011 at 2:20

from gwt-oauth2.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 25, 2024
There is not currently a way of querying the library for whether or not a token 
is stored for a particular service, though it shouldn't be difficult to add.

Filed as a separate bug: http://code.google.com/p/gwt-oauth2/issues/detail?id=8

Original comment by [email protected] on 31 Aug 2011 at 3:02

from gwt-oauth2.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 25, 2024
Fixed in r36

There is now a single JS download that you can use outside of a GWT 
application, that provides all the methods available to the GWT library. You 
can find that script here: 
http://gwt-oauth2.googlecode.com/svn/trunk/script/gwt-oauth2.js

I'll write up a doc about how to use it, or you can check out the sample code: 
http://code.google.com/p/gwt-oauth2/source/browse/trunk/samples/script/ScriptSam
ple.html

Original comment by [email protected] on 20 Sep 2011 at 4:03

  • Changed state: Fixed

from gwt-oauth2.

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.