Git Product home page Git Product logo

joauth's People

Contributors

alanbato avatar caniszczyk avatar johanoskarsson avatar kevinoliver avatar mariusae avatar ryangreenberg avatar tshprecher avatar vinodmehra avatar vkostyukov avatar willfeather avatar xiangyao1989 avatar xsl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

joauth's Issues

Examples

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

compile errors in scala 2.10.2

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.1 1.6 1.6 net.alchim31.maven scala-maven-plugin 3.1.0 compile testCompile src/main/scala src/test/scala org.apache.maven.plugins maven-surefire-plugin 2.12 -Xmx1024m false **/Test*.java **/_Test.java __/_Spec.java
<profiles>
    <profile>
        <id>sonatype-oss-release</id>
        <build>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-source-plugin</artifactId>
                    <version>2.1.2</version>
                    <executions>
                        <execution>
                            <id>attach-sources</id>
                            <goals>
                                <goal>jar-no-fork</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-javadoc-plugin</artifactId>
                    <version>2.7</version>
                    <executions>
                        <execution>
                            <id>attach-javadocs</id>
                            <goals>
                                <goal>jar</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-gpg-plugin</artifactId>
                    <version>1.1</version>
                    <executions>
                        <execution>
                            <id>sign-artifacts</id>
                            <phase>verify</phase>
                            <goals>
                                <goal>sign</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
            </plugins>
        </build>
    </profile>
</profiles>

Do You know how to handle with this last error ?
Thanks

Annotation is broken

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]

Build for scala 2.10.2

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!

No trace of HttpServletRequest in the code.

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 ?

compile errors in scala 2.10.2

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.