org.exoplatform.social.opensocial.auth
Class ExoSecurityTokenDecoder
java.lang.Object
org.exoplatform.social.opensocial.auth.ExoSecurityTokenDecoder
- All Implemented Interfaces:
- org.apache.shindig.auth.SecurityTokenCodec
public class ExoSecurityTokenDecoder
- extends Object
- implements org.apache.shindig.auth.SecurityTokenCodec
| Fields inherited from interface org.apache.shindig.auth.SecurityTokenCodec |
ACTIVE_URL_NAME, SECURITY_TOKEN_NAME |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExoSecurityTokenDecoder
@Inject
public ExoSecurityTokenDecoder(org.apache.shindig.config.ContainerConfig config)
createToken
public org.apache.shindig.auth.SecurityToken createToken(Map<String,String> tokenParameters)
throws org.apache.shindig.auth.SecurityTokenException
- Specified by:
createToken in interface org.apache.shindig.auth.SecurityTokenCodec
- Throws:
org.apache.shindig.auth.SecurityTokenException
encodeToken
public String encodeToken(org.apache.shindig.auth.SecurityToken token)
throws org.apache.shindig.auth.SecurityTokenException
- Specified by:
encodeToken in interface org.apache.shindig.auth.SecurityTokenCodec
- Throws:
org.apache.shindig.auth.SecurityTokenException
getTokenExpiration
public Long getTokenExpiration(org.apache.shindig.auth.SecurityToken token)
throws org.apache.shindig.auth.SecurityTokenException
- Throws:
org.apache.shindig.auth.SecurityTokenException
Copyright © 2003–2014 eXo Platform SAS. All rights reserved.