Commit 0748a9dd by Dima Bart

Update sample credentials for consistency.

parent 6d016829
...@@ -127,7 +127,7 @@ Consult the [Usage Section](https://docs.shopify.com/mobile-buy-sdk/ios/integrat ...@@ -127,7 +127,7 @@ Consult the [Usage Section](https://docs.shopify.com/mobile-buy-sdk/ios/integrat
You can allow customers to login with their existing account using the SDK. First, we'll need to create the `BUYAccountCredentials` object used to pass authentication credentials to the server. You can allow customers to login with their existing account using the SDK. First, we'll need to create the `BUYAccountCredentials` object used to pass authentication credentials to the server.
```objc ```objc
NSArray *credentialItems = @[ NSArray *credentialItems = @[
[BUYAccountCredentialItem itemWithEmail:@"user@email.com"], [BUYAccountCredentialItem itemWithEmail:@"john.smith@gmail.com"],
[BUYAccountCredentialItem itemWithPassword:@"password"], [BUYAccountCredentialItem itemWithPassword:@"password"],
]; ];
BUYAccountCredentials *credentials = [BUYAccountCredentials credentialsWithItems:credentialItems]; BUYAccountCredentials *credentials = [BUYAccountCredentials credentialsWithItems:credentialItems];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment