Add PHP syntax highlighting
This commit is contained in:
parent
d6d00e28ea
commit
6964749b0b
1 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@ The code below defines a function that can be used to obtain a login url.
|
||||||
You will need to add/remove parameters depending on whether you have iprestriction or update/create user enabled and which mapping field you are using.
|
You will need to add/remove parameters depending on whether you have iprestriction or update/create user enabled and which mapping field you are using.
|
||||||
|
|
||||||
The required library curl.php can be obtained from https://github.com/dongsheng/cURL
|
The required library curl.php can be obtained from https://github.com/dongsheng/cURL
|
||||||
```
|
```php
|
||||||
/**
|
/**
|
||||||
* @param string $useremail Email address of user to create token for.
|
* @param string $useremail Email address of user to create token for.
|
||||||
* @param string $firstname First name of user (used to update/create user).
|
* @param string $firstname First name of user (used to update/create user).
|
||||||
|
@ -160,4 +160,4 @@ echo getloginurl('barrywhite@googlemail.com', 'barry', 'white', 'barrywhite', '1
|
||||||
|
|
||||||
TODO:
|
TODO:
|
||||||
-----
|
-----
|
||||||
1. Implement logout webservice to be able to call it from external application.
|
1. Implement logout webservice to be able to call it from external application.
|
||||||
|
|
Loading…
Reference in a new issue