Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions EXAMPLES.md
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ authentication

```kotlin
authentication
.customTokenExchange("subject_token_type", "subject_token")
.customTokenExchange("subject_token_type", "subject_token", "organization_id")
.start(object : Callback<Credentials, AuthenticationException> {
override fun onSuccess(result: Credentials) {
// Handle success
Expand All @@ -645,7 +645,7 @@ authentication
``` kotlin
try {
val credentials = authentication
.tokenExchange("subject_token_type", "subject_token")
.customTokenExchange("subject_token_type", "subject_token", "organization_id")
.await()
} catch (e: AuthenticationException) {
e.printStacktrace()
Expand All @@ -658,7 +658,7 @@ try {

```java
authentication
.customTokenExchange("subject_token_type", "subject_token")
.customTokenExchange("subject_token_type", "subject_token", "organization_id")
.start(new Callback<Credentials, AuthenticationException>() {
@Override
public void onSuccess(@Nullable Credentials payload) {
Expand Down