Onfido API

Access to the onfido api throught

Лицензия

Лицензия

Группа

Группа

com.youcruit
Идентификатор

Идентификатор

onfido-parent
Последняя версия

Последняя версия

2.2
Дата

Дата

Тип

Тип

pom
Описание

Описание

Onfido API
Access to the onfido api throught
Ссылка на сайт

Ссылка на сайт

https://github.com/YouCruit/onfido-api
Система контроля версий

Система контроля версий

https://github.com/YouCruit/onfido-api

Скачать onfido-parent

Имя Файла Размер
onfido-parent-2.2.pom 3 KB
Обзор

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.youcruit/onfido-parent/ -->
<dependency>
    <groupId>com.youcruit</groupId>
    <artifactId>onfido-parent</artifactId>
    <version>2.2</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.youcruit/onfido-parent/
implementation 'com.youcruit:onfido-parent:2.2'
// https://jarcasting.com/artifacts/com.youcruit/onfido-parent/
implementation ("com.youcruit:onfido-parent:2.2")
'com.youcruit:onfido-parent:pom:2.2'
<dependency org="com.youcruit" name="onfido-parent" rev="2.2">
  <artifact name="onfido-parent" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.youcruit', module='onfido-parent', version='2.2')
)
libraryDependencies += "com.youcruit" % "onfido-parent" % "2.2"
[com.youcruit/onfido-parent "2.2"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

  • onfido
  • onfido-test

Java API Client for https://onfido.com/ Build Status

Usage

The client is built and distributed with Maven

Maven dependencies

Add the dependency to your pom:

<dependency>
    <groupId>com.youcruit</groupId>
    <artifactId>onfido-api</artifactId>
    <version>0.1</version>
</dependency>

or for gradle:

    compile 'com.youcruit:onfido-api:0.1'

Simple usage:

OnfidoHttpClient httpClient = new OkHttpOnfidoClient();
ApplicantClient applicantClient = new ApplicantClient(httpClient);
ApplicantCreationRequest request = new ApplicantCreationRequest();

request.set..
request.set..
request.set..

ApplicantResponse applicant = applicantClient.createApplicant(request);

Building

mvn clean install

Releasing

The copy-paste way of setting up releasing is adding the following to the ~/.m2/settings.xml

	<servers>
		<server>
			<id>ossrh</id>
			<username>**nexus username**</username>
			<password>**nexus password**</password>
		</server>
	</servers>
	<profiles>
		<profile>
			<id>gpg</id>
			<properties>
				<gpg.passphrase>**gpg passphrase**</gpg.passphrase>
				<gpg.keyname>**gpg keyname**</gpg.keyname>
			</properties>
		</profile>
	</profiles>
mvn release:prepare release:perform -Pgpg
com.youcruit

YouCruit

Версии библиотеки

Версия
2.2
2.1
2.0
0.1.1
0.1.0
0.0.17
0.0.16
0.0.15
0.0.13
0.0.12
0.0.11
0.0.10
0.0.9
0.0.8