Skip to content

Commit 9c6d674

Browse files
authored
Merge pull request #25 from ForgeRock/develop
Ping SDK 1.0.0 Release
2 parents 612fab1 + 618694c commit 9c6d674

File tree

14 files changed

+15
-291
lines changed

14 files changed

+15
-291
lines changed

README.md

Lines changed: 8 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -18,65 +18,16 @@ This SDK is support Browser, iOS and Android platforms.
1818
├── foundation # Foundation module
1919
│ ├── android # Android Common
2020
│ ├── davinci-plugin # For module that integrated with davinci
21-
│ ├── device # Device module
22-
│ │ ├── device-id # Generate and manage Device Id
23-
│ │ └── device-integrity # Device and App Integriry
24-
│ ├── fido # WebAuthn integration
25-
│ ├── journey-plugin # For module that integrated with journey
21+
│ ├── journey-plugin* # For module that integrated with journey
2622
│ ├── logger # Provide Logging interface and common loggers
27-
│ ├── network # Provide Networking interface
28-
│ ├── oidc # Provide OIDC interface
29-
│ └── storage # Provide Storage interface
23+
│ ├── oidc* # Provide OIDC interface
24+
│ ├── orchestrate # Orchestrating authentication flow framework
25+
│ ├── storage # Provide Storage interface
26+
│ └── utils # Provide common utilities function
3027
├── davinci # Orchestrate authentication with PingOne Davinci
31-
├── journey # Orchestrate authentication with Journey
32-
├── mfa # Provide interface to build Authenticator App
33-
├── protect # Provide PingOne Protect integration
34-
├── external-idp # Provide Native Google, Facebook, Apple SocialLogin
35-
├── verify # Provide PingOne Verify integration
36-
├── wallet # Provide PingOne Neo integration
28+
├── journey* # Orchestrate authentication with Journey
29+
├── external-idp* # Provide Native Google, Facebook, Apple SocialLogin
3730
├── ...
3831
└── ...
3932

40-
## Add dependency to your project
41-
42-
The Ping SDK for Android project emphasizes modularity, allowing you to select and include only the necessary SDKs for your app, instead of including the entire SDK.
43-
For example:
44-
45-
### Scenario 1:
46-
47-
An application with Centralized Login
48-
49-
```kotlin
50-
dependencies {
51-
implementation("com.pingidentity.sdks:oidc:$ping_version")
52-
}
53-
```
54-
55-
### Scenario 2:
56-
57-
An Orchestrate authentication with PingOne Davinci, and in the flow, I would like to enable PingOne Protect
58-
59-
```kotlin
60-
dependencies {
61-
implementation("com.pingidentity.sdks:davinci:$ping_version")
62-
implementation("com.pingidentity.sdks:protect:$ping_version")
63-
}
64-
```
65-
66-
### Scenario 3:
67-
68-
An Orchestrate authentication with Journey, and in the authentication journey, I would like to have Google Social Login,
69-
enable PingOne Protect and PingOne Verify
70-
71-
```kotlin
72-
dependencies {
73-
implementation("com.pingidentity.sdks:journey:$ping_version")
74-
implementation("com.pingidentity.sdks:protect:$ping_version")
75-
implementation("com.pingidentity.sdks:verify:$ping_version")
76-
implementation("com.pingidentity.sdks:social-login:$ping_version")
77-
}
78-
```
79-
80-
As you can see, the `protect` module is included in both scenarios.
81-
This is because the `protect` module is a dependency of the `davinci` and `journey` modules.
82-
Similarly, the `verify` and other modules can be shared across the `journey` and `davinci` modules.
33+
***Note***: * Module under development and experimental

foundation/device/build.gradle.kts

Lines changed: 0 additions & 14 deletions
This file was deleted.

foundation/device/device-binding/build.gradle.kts

Lines changed: 0 additions & 22 deletions
This file was deleted.

foundation/device/device-id/build.gradle.kts

Lines changed: 0 additions & 21 deletions
This file was deleted.

foundation/device/device-id/src/main/kotlin/com/pingidentity/device/id/DefaultDeviceIdentifier.kt

Lines changed: 0 additions & 45 deletions
This file was deleted.

foundation/device/device-id/src/main/kotlin/com/pingidentity/device/id/DeviceIdentifier.kt

Lines changed: 0 additions & 7 deletions
This file was deleted.

foundation/device/device-integrity/build.gradle.kts

Lines changed: 0 additions & 17 deletions
This file was deleted.

foundation/fido/build.gradle.kts

Lines changed: 0 additions & 17 deletions
This file was deleted.

foundation/network/build.gradle.kts

Lines changed: 0 additions & 17 deletions
This file was deleted.

foundation/oidc/README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
<hr/>
66
</p>
77

8+
# This Module is currently under development, do not apply this module directly to your project.
9+
810
`oidc` module provides OIDC client for PingOne and ForgeRock platform.
911

1012
The `oidc` module follows the [OIDC](https://openid.net/specs/openid-connect-core-1_0.html) specification and
@@ -33,9 +35,9 @@ to receive the redirect from the browser.
3335
```xml
3436

3537
<activity
36-
android:name="net.openid.appauth.RedirectUriReceiverActivity"
37-
android:exported="true"
38-
tools:node="replace">
38+
android:name="net.openid.appauth.RedirectUriReceiverActivity"
39+
android:exported="true"
40+
tools:node="replace">
3941
<intent-filter>
4042
<action android:name="android.intent.action.VIEW"/>
4143

@@ -55,7 +57,7 @@ Basic Configuration, use `discoveryEndpoint` to lookup OIDC endpoints
5557
```kotlin
5658
val ping = OidcClient {
5759
discoveryEndpoint =
58-
"https://auth.pingone.ca/02fb4743-189a-4bc7-9d6c-a919edfe6447/as/.well-known/openid-configuration"
60+
"https://auth.pingone.ca/02fb4743-189a-4bc7-9d6c-a919edfe6447/as/.well-known/openid-configuration"
5961
clientId = "c12743f9-08e8-4420-a624-71bbb08e9fe1"
6062
redirectUri = "org.forgerock.demo://oauth2redirect"
6163
scopes = mutableSetOf("openid", "email", "address", "profile", "phone")
@@ -116,7 +118,7 @@ the [customTab property](https://developer.android.com/reference/androidx/browse
116118
val ping = OidcClient {
117119

118120
agent(browser) {
119-
121+
120122
// Customize the CustomTab
121123
customTab = {
122124
setColorScheme(CustomTabsIntent.COLOR_SCHEME_DARK)

mfa/build.gradle.kts

Lines changed: 0 additions & 17 deletions
This file was deleted.

protect/build.gradle.kts

Lines changed: 0 additions & 18 deletions
This file was deleted.

verify/build.gradle.kts

Lines changed: 0 additions & 17 deletions
This file was deleted.

wallet/build.gradle.kts

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)