Skip to content

Commit 1346e21

Browse files
author
Devin Henderson
committed
Update readme
1 parent 79b6b30 commit 1346e21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ $api_response = $AuthArmor->invite_request("myusername", "myreferenceid");
2222
After inviting a user you should send an auth request to verify they have configured their app correctly:
2323

2424
```php
25-
$api_response = $AuthArmor->auth_request("myusername", "Confirm Setup", "Please confirm setup for MySiteName");
25+
$api_response = $AuthArmor->auth_request_async("myusername", "Confirm Setup", "Please confirm setup for MySiteName");
2626
if($api_response->authorized == 'true') {
2727
// User accepted the confirmation
2828
} else {
@@ -33,7 +33,7 @@ if($api_response->authorized == 'true') {
3333
### Perform an authorization
3434

3535
```php
36-
$api_response = $AuthArmor->auth_request("myusername", "Auth Request", "Requesting authorization for MySiteName");
36+
$api_response = $AuthArmor->auth_request_async("myusername", "Auth Request", "Requesting authorization for MySiteName");
3737
if($api_response->authorized == 'true') {
3838
// User accepted the auth
3939
} else {

0 commit comments

Comments
 (0)