gpsoauth-java

Client for Google Play Services OAuth

License

License

Categories

Categories

Java Languages
GroupId

GroupId

io.github.svarzee
ArtifactId

ArtifactId

gpsoauth-java
Last Version

Last Version

0.9.1
Release Date

Release Date

Type

Type

jar
Description

Description

gpsoauth-java
Client for Google Play Services OAuth
Project URL

Project URL

https://github.com/svarzee/gpsoauth-java
Source Code Management

Source Code Management

https://github.com/svarzee/gpsoauth-java/tree/master

Download gpsoauth-java

How to add to project

<!-- https://jarcasting.com/artifacts/io.github.svarzee/gpsoauth-java/ -->
<dependency>
    <groupId>io.github.svarzee</groupId>
    <artifactId>gpsoauth-java</artifactId>
    <version>0.9.1</version>
</dependency>
// https://jarcasting.com/artifacts/io.github.svarzee/gpsoauth-java/
implementation 'io.github.svarzee:gpsoauth-java:0.9.1'
// https://jarcasting.com/artifacts/io.github.svarzee/gpsoauth-java/
implementation ("io.github.svarzee:gpsoauth-java:0.9.1")
'io.github.svarzee:gpsoauth-java:jar:0.9.1'
<dependency org="io.github.svarzee" name="gpsoauth-java" rev="0.9.1">
  <artifact name="gpsoauth-java" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.github.svarzee', module='gpsoauth-java', version='0.9.1')
)
libraryDependencies += "io.github.svarzee" % "gpsoauth-java" % "0.9.1"
[io.github.svarzee/gpsoauth-java "0.9.1"]

Dependencies

compile (2)

Group / Artifact Type Version
com.squareup.okhttp3 : okhttp jar 3.6.0
net.iharder : base64 jar 2.3.9

test (1)

Group / Artifact Type Version
org.spockframework : spock-core jar 1.0-groovy-2.4

Project Modules

There are no modules declared in this project.

Java client library for Google Play Services OAuth

Based on gpsoauth by Simon Weber.

With this library you can log in using username and password.

You can link the library in your dependencies manager by following instructions on https://jitpack.io/#svarzee/gpsoauth-java.

Simplest usage:

AuthToken token = new Gpsoauth().login("username", "password", "androidId", "service", "app", "clientSig");

Known issues

It seems google is very strict about SSL communication and any changes to it make it fail.

It is recommended to use Gpsoauth.compatibleOkHttpClient to create OkHttpClient instance with proper SSL settings.

Using jdk other than hotspot 1.8.0_231 or openjdk 1.8.0_212 may introduce SSL implementation problems.

Using okhttp other than 3.4.1. 3.5.0, 3.6.0 may introduce SSL implementation problems.

Versions

Version
0.9.1
0.7.0