play.libs
Class OpenID

java.lang.Object
  extended by play.libs.OpenID

public class OpenID
extends java.lang.Object

provides support for OpenID


Nested Class Summary
static class OpenID.UserInfo
           
 
Constructor Summary
OpenID()
           
 
Method Summary
static F.Promise<java.lang.String> redirectURL(java.lang.String openID, java.lang.String callbackURL)
          Retrieve the URL where the user should be redirected to start the OpenID authentication process
static F.Promise<java.lang.String> redirectURL(java.lang.String openID, java.lang.String callbackURL, java.util.Map<java.lang.String,java.lang.String> axRequired)
          Retrieve the URL where the user should be redirected to start the OpenID authentication process
static F.Promise<java.lang.String> redirectURL(java.lang.String openID, java.lang.String callbackURL, java.util.Map<java.lang.String,java.lang.String> axRequired, java.util.Map<java.lang.String,java.lang.String> axOptional)
          Retrieve the URL where the user should be redirected to start the OpenID authentication process
static F.Promise<OpenID.UserInfo> verifiedId()
          Check the identity of the user from the current request, that should be the callback from the OpenID server
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenID

public OpenID()
Method Detail

redirectURL

public static F.Promise<java.lang.String> redirectURL(java.lang.String openID,
                                                      java.lang.String callbackURL)
Retrieve the URL where the user should be redirected to start the OpenID authentication process


redirectURL

public static F.Promise<java.lang.String> redirectURL(java.lang.String openID,
                                                      java.lang.String callbackURL,
                                                      java.util.Map<java.lang.String,java.lang.String> axRequired)
Retrieve the URL where the user should be redirected to start the OpenID authentication process


redirectURL

public static F.Promise<java.lang.String> redirectURL(java.lang.String openID,
                                                      java.lang.String callbackURL,
                                                      java.util.Map<java.lang.String,java.lang.String> axRequired,
                                                      java.util.Map<java.lang.String,java.lang.String> axOptional)
Retrieve the URL where the user should be redirected to start the OpenID authentication process


verifiedId

public static F.Promise<OpenID.UserInfo> verifiedId()
Check the identity of the user from the current request, that should be the callback from the OpenID server