File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed
Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -7,14 +7,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77## [ Unreleased]
88
99### Added
10- *
10+ *
1111
1212### Changed
1313*
1414
1515### Removed
1616*
1717
18+ ## [ 0.4.1]
19+ ## Changed
20+ * Documentation updates for include path.
1821
1922## [ 0.4]
2023### Added
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ composer require jumbojett/openid-connect-php
1818```
1919 2 . Include composer autoloader
2020``` php
21- require '/vendor/autoload.php';
21+ require __DIR__ . '/vendor/autoload.php';
2222```
2323
2424## Example 1: Basic Client ##
Original file line number Diff line number Diff line change 2121 *
2222 */
2323
24- require " ../.. /autoload.php" ;
24+ require __DIR__ . ' /vendor /autoload.php' ;
2525
2626use Jumbojett \OpenIDConnectClient ;
2727
28- $ oidc = new OpenIDConnectClient ('http://myproviderURL.com/ ' ,
29- 'ClientIDHere ' ,
30- 'ClientSecretHere ' );
28+ $ oidc = new OpenIDConnectClient (
29+ 'http://myproviderURL.com/ ' ,
30+ 'ClientIDHere ' ,
31+ 'ClientSecretHere '
32+ );
3133
3234$ oidc ->authenticate ();
3335$ name = $ oidc ->requestUserInfo ('given_name ' );
You can’t perform that action at this time.
0 commit comments