Skip to content

Commit 3e24a2b

Browse files
authored
doc: Updated examples for CTE to include organization (#889)
1 parent 063542c commit 3e24a2b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

EXAMPLES.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ authentication
627627

628628
```kotlin
629629
authentication
630-
.customTokenExchange("subject_token_type", "subject_token")
630+
.customTokenExchange("subject_token_type", "subject_token", "organization_id")
631631
.start(object : Callback<Credentials, AuthenticationException> {
632632
override fun onSuccess(result: Credentials) {
633633
// Handle success
@@ -645,7 +645,7 @@ authentication
645645
``` kotlin
646646
try {
647647
val credentials = authentication
648-
.tokenExchange("subject_token_type", "subject_token")
648+
.customTokenExchange("subject_token_type", "subject_token", "organization_id")
649649
.await()
650650
} catch (e: AuthenticationException) {
651651
e.printStacktrace()
@@ -658,7 +658,7 @@ try {
658658

659659
```java
660660
authentication
661-
.customTokenExchange("subject_token_type", "subject_token")
661+
.customTokenExchange("subject_token_type", "subject_token", "organization_id")
662662
.start(new Callback<Credentials, AuthenticationException>() {
663663
@Override
664664
public void onSuccess(@Nullable Credentials payload) {

0 commit comments

Comments
 (0)