You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oltu.apache.org by si...@apache.org on 2010/07/08 21:07:47 UTC
svn commit: r961884 -
/incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/OAuthConsumer.java
Author: simonetripodi
Date: Thu Jul 8 19:07:47 2010
New Revision: 961884
URL: http://svn.apache.org/viewvc?rev=961884&view=rev
Log:
minor format
Modified:
incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/OAuthConsumer.java
Modified: incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/OAuthConsumer.java
URL: http://svn.apache.org/viewvc/incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/OAuthConsumer.java?rev=961884&r1=961883&r2=961884&view=diff
==============================================================================
--- incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/OAuthConsumer.java (original)
+++ incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/OAuthConsumer.java Thu Jul 8 19:07:47 2010
@@ -19,41 +19,36 @@ package org.apache.amber;
import java.io.Serializable;
/**
- * <p>
* The OAuth Consumer is defined in the {@link org.apache.amber.OAuth} Specification as
* the client in one of the legs during an authorisation or authentication.
- * </p>
- *
- * @version $Revision$ $Date$
- *
+ *
+ * @version $Id$
*/
public interface OAuthConsumer extends Serializable {
/**
* The name field is a convenient reference to the Consumer and SHOULD match
* the string used during the Provider registration process
- *
+ *
* @return name
*/
String getName();
/**
- * @param name
- * the name to set
+ * @param name the name to set
*/
void setName(String name);
/**
* The key field contains the key string assigned to the Consumer by the
- * Provider, during registration
- *
+ * Provider, during registration.
+ *
* @return the key
*/
String getKey();
/**
- * @param key
- * the key to set
+ * @param key the key to set
*/
void setKey(String key);
@@ -64,28 +59,26 @@ public interface OAuthConsumer extends S
/**
* The secret field contains the unique secret string generated by the
- * Provider, during registration
- *
- * @param secret
- * the secret to set
+ * Provider, during registration.
+ *
+ * @param secret the secret to set
*/
void setSecret(String secret);
/**
* The callback field contains the HTTP URL that the Provider will redirect
* the User to during the authentication / authorisation process.
- *
+ *
* It MUST be set to the "OUT OF BAND" value "oob" if
* the response can't be sent via an HTTP redirect.
- *
+ *
* @return the callback
*/
String getCallback();
/**
- * @param callback
- * the callback to set
+ * @param callback the callback to set
*/
void setCallback(String callback);
-}
\ No newline at end of file
+}