org.openid4java.infocard
Class OpenIDTokenType

java.lang.Object
  extended by org.openid4java.infocard.OpenIDTokenType

public class OpenIDTokenType
extends java.lang.Object

Enumeration class with the defined OpenID token types.


Field Summary
private  java.lang.String _tokenTypeUri
          Token URI value.
static java.lang.String OPENID_CLAIM
          The OpenID Identifier claim type.
static OpenIDTokenType OPENID11_TOKEN
          OpenID 1.1 token type.
static OpenIDTokenType OPENID20_TOKEN
          OpenID 2.0 token type.
 
Constructor Summary
private OpenIDTokenType(java.lang.String uriValue)
          Constructs a token type for the given URI value.
 
Method Summary
 java.lang.String toString()
          Gets the URI string value for the token type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

OPENID11_TOKEN

public static final OpenIDTokenType OPENID11_TOKEN
OpenID 1.1 token type.


OPENID20_TOKEN

public static final OpenIDTokenType OPENID20_TOKEN
OpenID 2.0 token type.


OPENID_CLAIM

public static final java.lang.String OPENID_CLAIM
The OpenID Identifier claim type.

See Also:
Constant Field Values

_tokenTypeUri

private final java.lang.String _tokenTypeUri
Token URI value.

Constructor Detail

OpenIDTokenType

private OpenIDTokenType(java.lang.String uriValue)
Constructs a token type for the given URI value.

Method Detail

toString

public java.lang.String toString()
Gets the URI string value for the token type.

Overrides:
toString in class java.lang.Object
Returns:
String representation of the token URI type.


Copyright 2006-2008 Sxip Identity Corporation