two-legged-auth


License

License

MIT
GroupId

GroupId

com.meetup
ArtifactId

ArtifactId

two-legged-auth_2.11
Last Version

Last Version

0.1.35
Release Date

Release Date

Type

Type

jar
Description

Description

two-legged-auth
two-legged-auth
Project URL

Project URL

https://github.com/meetup/two-legged-auth
Project Organization

Project Organization

com.meetup
Source Code Management

Source Code Management

http://github.com/meetup/two-legged-auth/tree/master

Download two-legged-auth_2.11

How to add to project

<!-- https://jarcasting.com/artifacts/com.meetup/two-legged-auth_2.11/ -->
<dependency>
    <groupId>com.meetup</groupId>
    <artifactId>two-legged-auth_2.11</artifactId>
    <version>0.1.35</version>
</dependency>
// https://jarcasting.com/artifacts/com.meetup/two-legged-auth_2.11/
implementation 'com.meetup:two-legged-auth_2.11:0.1.35'
// https://jarcasting.com/artifacts/com.meetup/two-legged-auth_2.11/
implementation ("com.meetup:two-legged-auth_2.11:0.1.35")
'com.meetup:two-legged-auth_2.11:jar:0.1.35'
<dependency org="com.meetup" name="two-legged-auth_2.11" rev="0.1.35">
  <artifact name="two-legged-auth_2.11" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.meetup', module='two-legged-auth_2.11', version='0.1.35')
)
libraryDependencies += "com.meetup" % "two-legged-auth_2.11" % "0.1.35"
[com.meetup/two-legged-auth_2.11 "0.1.35"]

Dependencies

compile (7)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.11.8
io.reactivex : rxnetty jar 0.4.20
com.netflix.hystrix : hystrix-rx-netty-metrics-stream jar 1.4.23
com.meetup » scala-logger_2.11 jar 0.2.22
org.asynchttpclient : async-http-client jar 2.0.37
me.lessis : base64_2.11 jar 0.2.0
me.lessis : prints_2.11 jar 0.1.13

test (3)

Group / Artifact Type Version
org.scalatest : scalatest_2.11 jar 2.2.6
org.scalacheck : scalacheck_2.11 jar 1.11.5
org.mockito : mockito-core jar 2.6.6

Project Modules

There are no modules declared in this project.

Two legged Auth

Build Status

Generic open library providing easy way of performing get/post method using 2-legged authentication.

Usage

Specify the com.meetup.auth.config.Configuration using loadConfigurationFromEnv, Than instantiate com.meetup.auth.MeetupConsumer.
Use consumer to perform get/post requests.

import com.meetup.auth.config.Configuration
import com.meetup.auth.MeetupConsumer

val configuration = Configuration.loadConfigurationFromEnv(issuer = "app-service", userAgent = "APP/0.1")
                                   ("APP_PRIVATE_KEY",
                                    "APP_PUBLIC_KEY",
                                    "APP_CLASSIC_OAUTH2_CLIENT_KEY",
                                    "APP_CHAPSTICK_ACCESS_TOKEN_URL",
                                    "APP_CHAPSTICK_API_ROOT_URL",
                                    "APP_TEST_API_KEY",
                                    "APP_FF_WHITELISTONLY")

val meetupConsumer = MeetupConsumer(configuration)
com.meetup

Meetup

Versions

Version
0.1.35