Android implementation

A library build on top of retrofit, for simple handling of authenticated requests.

License

License

GroupId

GroupId

com.andretietz.retroauth
ArtifactId

ArtifactId

retroauth-android
Last Version

Last Version

3.1.0
Release Date

Release Date

Type

Type

aar
Description

Description

Android implementation
A library build on top of retrofit, for simple handling of authenticated requests.
Project URL

Project URL

https://github.com/andretietz/retroauth
Source Code Management

Source Code Management

https://github.com/andretietz/retroauth

Download retroauth-android

How to add to project

<!-- https://jarcasting.com/artifacts/com.andretietz.retroauth/retroauth-android/ -->
<dependency>
    <groupId>com.andretietz.retroauth</groupId>
    <artifactId>retroauth-android</artifactId>
    <version>3.1.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.andretietz.retroauth/retroauth-android/
implementation 'com.andretietz.retroauth:retroauth-android:3.1.0'
// https://jarcasting.com/artifacts/com.andretietz.retroauth/retroauth-android/
implementation ("com.andretietz.retroauth:retroauth-android:3.1.0")
'com.andretietz.retroauth:retroauth-android:aar:3.1.0'
<dependency org="com.andretietz.retroauth" name="retroauth-android" rev="3.1.0">
  <artifact name="retroauth-android" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.andretietz.retroauth', module='retroauth-android', version='3.1.0')
)
libraryDependencies += "com.andretietz.retroauth" % "retroauth-android" % "3.1.0"
[com.andretietz.retroauth/retroauth-android "3.1.0"]

Dependencies

compile (2)

Group / Artifact Type Version
com.andretietz.retroauth : retroauth jar 3.1.0
org.jetbrains.kotlin : kotlin-stdlib jar 1.4.21

runtime (2)

Group / Artifact Type Version
androidx.appcompat » appcompat jar 1.2.0
androidx.startup » startup-runtime jar 1.0.0

Project Modules

There are no modules declared in this project.

A simple way of calling authenticated requests using retrofit

Android Arsenal Android Weekly Snapshot build

I split the project into 2 separate ones.

  • retroauth This is the base implementation, to be used in plain java/kotlin projects.
  • retroauth-android On top of the pure Kotlin implementation there's the Android implementation, which uses the Android AccountManager in order to store Owners (Accounts) and their Credentials.

LICENSE

Copyrights 2016 André Tietz

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

<http://www.apache.org/licenses/LICENSE-2.0>

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Versions

Version
3.1.0
3.0.1
3.0.0
3.0.0-beta21
3.0.0-beta20
3.0.0-beta19
3.0.0-beta14
3.0.0-beta12
3.0.0-beta11
2.3.2