play.libs
Class OpenID
java.lang.Object
play.libs.OpenID
public class OpenID
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
returnTo
public OpenID returnTo(java.lang.String action)
forRealm
public OpenID forRealm(java.lang.String action)
required
public OpenID required(java.lang.String alias)
required
public OpenID required(java.lang.String alias,
java.lang.String schema)
optional
public OpenID optional(java.lang.String alias)
optional
public OpenID optional(java.lang.String alias,
java.lang.String schema)
verify
public boolean verify()
id
public static OpenID id(java.lang.String id)
normalize
public static java.lang.String normalize(java.lang.String openID)
- Normalize the given openid as a standard openid
isAuthenticationResponse
public static boolean isAuthenticationResponse()
- Is the current request an authentication response from the OP ?
getVerifiedID
public static OpenID.UserInfo getVerifiedID()
- Retrieve the verified OpenID
- Returns:
- A UserInfo object
discoverServer
public static java.lang.String discoverServer(java.lang.String openid)
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly