nl.surfnet.coin.api.oauth
Class JanusClientMetadata

java.lang.Object
  extended by nl.surfnet.coin.api.oauth.JanusClientMetadata
All Implemented Interfaces:
Serializable, ClientMetaData

public class JanusClientMetadata
extends Object
implements ClientMetaData, Serializable

Metadata from janus about the SP (which in OAuth1 terms is a consumer and in OAuth2 terms a client)

See Also:
Serialized Form

Constructor Summary
JanusClientMetadata()
           
JanusClientMetadata(EntityMetadata metadata)
           
 
Method Summary
 String getAppDescription()
           
 String getAppEntityId()
           
 String getAppIcon()
           
 String getAppThumbNail()
           
 String getAppTitle()
           
 String getConsumerKey()
           
 String getEulaUrl()
          Get the EULA URL
 boolean isConsentRequired()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JanusClientMetadata

public JanusClientMetadata()

JanusClientMetadata

public JanusClientMetadata(EntityMetadata metadata)
Method Detail

getAppTitle

public String getAppTitle()
Specified by:
getAppTitle in interface ClientMetaData
Returns:
the appTitle

getAppIcon

public String getAppIcon()
Specified by:
getAppIcon in interface ClientMetaData
Returns:
the appIcon

getAppDescription

public String getAppDescription()
Specified by:
getAppDescription in interface ClientMetaData
Returns:
the appDescription

getAppThumbNail

public String getAppThumbNail()
Specified by:
getAppThumbNail in interface ClientMetaData
Returns:
the appThumbNail

getAppEntityId

public String getAppEntityId()
Specified by:
getAppEntityId in interface ClientMetaData
Returns:
the appEntityId

getConsumerKey

public String getConsumerKey()
Specified by:
getConsumerKey in interface ClientMetaData
Returns:
the consumerKey

isConsentRequired

public boolean isConsentRequired()
Specified by:
isConsentRequired in interface ClientMetaData
Returns:
is consent is required

toString

public String toString()
Overrides:
toString in class Object

getEulaUrl

public String getEulaUrl()
Description copied from interface: ClientMetaData
Get the EULA URL

Specified by:
getEulaUrl in interface ClientMetaData
Returns:
String representing the EULA URL


Copyright © 2009-2012 SURFnet bv, The Netherlands. All Rights Reserved.