Skip to content

Commit 2edfb75

Browse files
authored
(DOCSP-12467): Update authentication examples (#530)
1 parent c9d1f31 commit 2edfb75

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

examples/ios/Examples/Authenticate.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class Authenticate: XCTestCase {
66
let expectation = XCTestExpectation(description: "login completes")
77

88
// :code-block-start: google
9-
// Fetch Google token via the Google SDK
9+
// Fetch authentication code via the Google SDK
1010
let credentials = Credentials.google(serverAuthCode: "<token>")
1111
app.login(credentials: credentials) { (user, error) in
1212
DispatchQueue.main.sync {
@@ -29,7 +29,7 @@ class Authenticate: XCTestCase {
2929
let expectation = XCTestExpectation(description: "login completes")
3030

3131
// :code-block-start: apple
32-
// Fetch Apple token via the Apple SDK
32+
// Fetch IDToken via the Apple SDK
3333
let credentials = Credentials.apple(idToken: "<token>")
3434
app.login(credentials: credentials) { (user, error) in
3535
DispatchQueue.main.sync {
@@ -52,7 +52,7 @@ class Authenticate: XCTestCase {
5252
let expectation = XCTestExpectation(description: "login completes")
5353

5454
// :code-block-start: facebook
55-
// Fetch Facebook token via the Facebook SDK
55+
// Fetch access token via the Facebook SDK
5656
let credentials = Credentials.facebook(accessToken: "<token>")
5757
app.login(credentials: credentials) { (user, error) in
5858
DispatchQueue.main.sync {

source/android/authenticate.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ to ``app.login()`` or ``app.loginAsync()``.
405405
val app: App = App(AppConfiguration.Builder(appID)
406406
.build())
407407

408-
// fetch facebook token using Facebook SDK
408+
// fetch access token using Facebook SDK
409409

410410
val facebookCredentials: Credentials = Credentials.facebook("<token>")
411411

@@ -465,7 +465,7 @@ to ``app.login()`` or ``app.loginAsync()``.
465465
val app: App = App(AppConfiguration.Builder(appID)
466466
.build())
467467

468-
// fetch google token using Google SDK
468+
// fetch authentication code using Google SDK
469469

470470
val googleCredentials: Credentials = Credentials.google("<token>")
471471

@@ -525,7 +525,7 @@ to ``app.login()`` or ``app.loginAsync()``.
525525
val app: App = App(AppConfiguration.Builder(appID)
526526
.build())
527527

528-
// fetch apple token using Apple SDK
528+
// fetch IDToken using Apple SDK
529529

530530
val appleCredentials: Credentials = Credentials.apple("<token>")
531531

source/examples/generated/code/start/Authenticate.codeblock.apple.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Fetch Apple token via the Apple SDK
1+
// Fetch IDToken via the Apple SDK
22
let credentials = Credentials.apple(idToken: "<token>")
33
app.login(credentials: credentials) { (user, error) in
44
DispatchQueue.main.sync {

source/examples/generated/code/start/Authenticate.codeblock.facebook.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Fetch Facebook token via the Facebook SDK
1+
// Fetch access token via the Facebook SDK
22
let credentials = Credentials.facebook(accessToken: "<token>")
33
app.login(credentials: credentials) { (user, error) in
44
DispatchQueue.main.sync {

source/examples/generated/code/start/Authenticate.codeblock.google.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Fetch Google token via the Google SDK
1+
// Fetch authentication code via the Google SDK
22
let credentials = Credentials.google(serverAuthCode: "<token>")
33
app.login(credentials: credentials) { (user, error) in
44
DispatchQueue.main.sync {

0 commit comments

Comments
 (0)