Kotlin Sign in with Apple

Sign in with Apple token verification written in Kotlin

Лицензия

Лицензия

Категории

Категории

Kotlin Языки программирования
Группа

Группа

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

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

kotlin-sign-in-with-apple
Последняя версия

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

1.0.2
Дата

Дата

Тип

Тип

pom.sha512
Описание

Описание

Kotlin Sign in with Apple
Sign in with Apple token verification written in Kotlin
Ссылка на сайт

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

https://github.com/AurityLab/kotlin-sign-in-with-apple
Организация-разработчик

Организация-разработчик

AurityLab UG (haftungsbeschraenkt)
Система контроля версий

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

https://github.com/AurityLab/kotlin-sign-in-with-apple

Скачать kotlin-sign-in-with-apple

Зависимости

runtime (3)

Идентификатор библиотеки Тип Версия
org.jetbrains.kotlin : kotlin-stdlib-jdk8 jar 1.4.32
org.jetbrains.kotlinx : kotlinx-serialization-json-jvm jar 1.1.0
com.auth0 : java-jwt jar 3.10.3

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

Данный проект не имеет модулей.

Kotlin Sign in with Apple

GitHub Actions ktlint Maven Central

This library is capable of verifying the identity token from Sign in with Apple.

Install

Gradle

dependencies {
    implementation("com.auritylab:kotlin-sign-in-with-apple:1.0.1") // See above for the latest version!
}

Maven

<dependency>
    <groupId>com.auritylab</groupId>
    <artifactId>kotlin-sign-in-with-apple</artifactId>
    <version>1.0.1</version> <!-- See above for the latest versions! -->
</dependency>

Usage

// Validate the identity token.
val result = AppleSignIn("<your client_id>").validate("<the identity token>")

// If the identity token is expired, etc. the validate() method will return null.
// If there is a network issue or the given identity token is no valid JWT token at all, an exception will be thrown.

println(result.userIdentifier) // The unique identifier of the user.
println(result.email) // The email address of the user.
println(result.emailVerified) // If the email address is verified.
println(result.issuedAt) // The time the token was issued.
com.auritylab

AurityLab

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

Версия
1.0.2
1.0.1
1.0.0