public class OpenID
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
OpenID.UserInfo |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
discoverServer(java.lang.String openid) |
OpenID |
forRealm(java.lang.String action) |
static OpenID.UserInfo |
getVerifiedID()
Retrieve the verified OpenID
|
static OpenID |
id(java.lang.String id) |
static boolean |
isAuthenticationResponse()
Is the current request an authentication response from the OP ?
|
static java.lang.String |
normalize(java.lang.String openID)
Normalize the given openid as a standard openid
|
OpenID |
optional(java.lang.String alias) |
OpenID |
optional(java.lang.String alias,
java.lang.String schema) |
OpenID |
required(java.lang.String alias) |
OpenID |
required(java.lang.String alias,
java.lang.String schema) |
OpenID |
returnTo(java.lang.String action) |
boolean |
verify() |
public OpenID returnTo(java.lang.String action)
public OpenID forRealm(java.lang.String action)
public OpenID required(java.lang.String alias)
public OpenID required(java.lang.String alias, java.lang.String schema)
public OpenID optional(java.lang.String alias)
public OpenID optional(java.lang.String alias, java.lang.String schema)
public boolean verify()
public static OpenID id(java.lang.String id)
public static java.lang.String normalize(java.lang.String openID)
openID
- the given openidpublic static boolean isAuthenticationResponse()
public static OpenID.UserInfo getVerifiedID()
public static java.lang.String discoverServer(java.lang.String openid)
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly