twitter / joauth Goto Github PK
View Code? Open in Web Editor NEWA Java library for authenticating HTTP Requests using OAuth
License: Apache License 2.0
A Java library for authenticating HTTP Requests using OAuth
License: Apache License 2.0
Hello,
Examples in the readme are in Scala, not in Java. This is very confusing, i don't know Scala so i'm having trouble using your library
Thank you
The latest releases don't seem to be tagged...
https://github.com/blog/1547-release-your-software
https://github.com/twitter/joauth/releases
Hi,
I changed in pom scala version to 2.10.2 and on mvn clean install I get error:
Results :
Failed tests: only parse quoted values(com.twitter.joauth.keyvalue.KeyValueHandlerSpec): The mock was not called as expected: (..)
Tests run: 311, Failures: 1, Errors: 0, Skipped: 0
this is pom after changes:
JOAuth 4.0.0 com.twitter joauth jar 4.0.2-SNAPSHOT http://github.com/twitter/joauth A Scala library for authenticating HTTP requests using OAuth org.scala-lang scala-library 2.10.2 commons-codec commons-codec 1.5 org.scala-tools.testing specs_2.10 1.6.9 test junit junit 4.11 test org.mockito mockito-all 1.9.5 test org.slf4j slf4j-api ${slf4j.version} scm:git:[email protected]:twitter/joauth.git scm:git:[email protected]:twitter/joauth.git scm:git:[email protected]:twitter/joauth.git The Apache Software License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0.txt Steven Liu [email protected] Kevin Oliver [email protected] 1.6 1.6 UTF-8 2.10.2 1.7.5 sonatype-nexus-snapshots Sonatype OSS https://oss.sonatype.org/content/repositories/snapshots sonatype-nexus-staging Nexus Release Repository https://oss.sonatype.org/service/local/staging/deploy/maven2/ sonatype-nexus-snapshots https://oss.sonatype.org/content/repositories/snapshots false true org.apache.maven.plugins maven-release-plugin 2.1 forked-path false -Psonatype-oss-release org.apache.maven.plugins maven-compiler-plugin 2.5.1Was looking to use this library with Play framework which runs on Scala 2.10.2. When will the 2.10.2 of this library available?
Thanks.
Hi,
I changed in pom scala version to 2.10.2 and on mvn clean install I get error:
Results :
Failed tests: only parse quoted values(com.twitter.joauth.keyvalue.KeyValueHandlerSpec): The mock was not called as expected: (..)
Tests run: 311, Failures: 1, Errors: 0, Skipped: 0
this is pom after changes:
https://gist.github.com/daaatz/6338795
There was issue: #15
but You responded to me that I Use old specs but not, I use specs for 2.10.
Thanks!
I've put a minimal Kotlin port without dependencies on guava here
It's Apache licensed, so available to anyone that hits issues with guava deps etc.
We know it is old code. However, people at twitter are using and recommending codes that depend on it. So the broken annotation should be fixed so that at least we can build it with maven.
[ERROR] error: error while loading AnnotatedElement
[ERROR] one error found
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.861 s
[INFO] Finished at: 2016-05-31T12:25:27-04:00
[INFO] Final Memory: 19M/280M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.1.0:compile (default) on project joauth: wrap: org.apache.commons.exec.ExecuteException: Process exited with an error: 1(Exit value: 1) -> [Help 1]
Hi guys,
can You build joauth for scala 2.10.2 ? Im using twitter HBC which doens work with scala 2.10.2 because of joauth..
Thanks!
@xsl, can you remove these files?
These aren't need anymore. I'm also lazy to do the pull request myself atm :)
The readme suggests that
"The Unpacker trait unpacks the HttpServletRequest into an OAuthRequest, which models the data needed to validate the request"
I see no trace of a code that provides the facility of transforming HttpServletRequest to OAuthRequest for further usage.
Either I have not understood the code well or am I missing something ?
I want to leverage this library for verifying the request from Jersey or Spring MVC action method.
The request from client would have been signed using private key. At my end I would use the public key of the client to verify the request. which means RSA-SHA1 algo.
Could I accomplish this using joauth or not ? if yes how ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.