Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
72901165f8 | ||
|
|
4f23cfaf20 | ||
|
|
5c0d150547 |
No files matched your search
+1
-1
@@ -63,7 +63,7 @@ You can pull scribe from a maven repository, just add this to your __pom.xml__ f
|
|||||||
@<dependency>@
|
@<dependency>@
|
||||||
@<groupId>org.scribe</groupId>@
|
@<groupId>org.scribe</groupId>@
|
||||||
@<artifactId>scribe</artifactId>@
|
@<artifactId>scribe</artifactId>@
|
||||||
@<version>1.1.0</version>@
|
@<version>1.1.2</version>@
|
||||||
@</dependency>@
|
@</dependency>@
|
||||||
|
|
||||||
h1. Getting started in less than 2 minutes
|
h1. Getting started in less than 2 minutes
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
mvn source:jar javadoc:jar package gpg:sign repository:bundle-create -Dgpg.passphrase=$1
|
||||||
+5
-1
@@ -30,4 +30,8 @@
|
|||||||
* FIX: Removed isEmpty() from OAuth2.0 code in order to support older JVMs
|
* FIX: Removed isEmpty() from OAuth2.0 code in order to support older JVMs
|
||||||
* FEATURE: Overloaded provider() method to support instances as well as classes (thanks dustismo)
|
* FEATURE: Overloaded provider() method to support instances as well as classes (thanks dustismo)
|
||||||
* FIX: White-space parameter bug (thanks Krogoth)
|
* FIX: White-space parameter bug (thanks Krogoth)
|
||||||
* FEATURE: OAuth 2.0 now implements server-flow (thanks Diego Silveira)
|
* FEATURE: OAuth 2.0 now implements server-flow (thanks Diego Silveira)
|
||||||
|
|
||||||
|
[1.1.2]
|
||||||
|
|
||||||
|
* FIX: Fixed ugly bug that made 1.1.1 practically unusable (thanks Stubbs)
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
<groupId>org.scribe</groupId>
|
<groupId>org.scribe</groupId>
|
||||||
<artifactId>scribe</artifactId>
|
<artifactId>scribe</artifactId>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<version>1.1.1</version>
|
<version>1.1.2</version>
|
||||||
<name>Scribe OAuth Library</name>
|
<name>Scribe OAuth Library</name>
|
||||||
<description>The best OAuth library out there</description>
|
<description>The best OAuth library out there</description>
|
||||||
<url>http://github.com/fernandezpablo85/scribe-java</url>
|
<url>http://github.com/fernandezpablo85/scribe-java</url>
|
||||||
|
|||||||
@@ -36,8 +36,8 @@ public class OAuth10aServiceImpl implements OAuthService
|
|||||||
public Token getRequestToken()
|
public Token getRequestToken()
|
||||||
{
|
{
|
||||||
OAuthRequest request = new OAuthRequest(api.getRequestTokenVerb(), api.getRequestTokenEndpoint());
|
OAuthRequest request = new OAuthRequest(api.getRequestTokenVerb(), api.getRequestTokenEndpoint());
|
||||||
addOAuthParams(request, OAuthConstants.EMPTY_TOKEN);
|
|
||||||
request.addOAuthParameter(OAuthConstants.CALLBACK, config.getCallback());
|
request.addOAuthParameter(OAuthConstants.CALLBACK, config.getCallback());
|
||||||
|
addOAuthParams(request, OAuthConstants.EMPTY_TOKEN);
|
||||||
addOAuthHeader(request);
|
addOAuthHeader(request);
|
||||||
Response response = request.send();
|
Response response = request.send();
|
||||||
return api.getRequestTokenExtractor().extract(response.getBody());
|
return api.getRequestTokenExtractor().extract(response.getBody());
|
||||||
|
|||||||
Reference in new issue
Block a user