Skip to content

Commit

Permalink
Fixed type in code example, missing "new"
Browse files Browse the repository at this point in the history
  • Loading branch information
Ketil Stadskleiv committed Oct 3, 2016
1 parent 04108d7 commit 895646f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ The basic package enable creation of a TGT that can be used for further login to
use Bokbasen\Auth\TGTCache;
try{
//Create a TGT cache instance, any class implementing the TGTCacheInterface
$tgtCacheSession = TGTCache\Session('myNamespace');
$tgtCacheSession = new TGTCache\Session('myNamespace');
$auth = new Login('my_username', 'my_password', $tgtCacheSession);
//If the TGT is cached, the SDK will only call the Bokbasen login server when the token is about to expire
} catch(\Exception $e){
Expand Down

0 comments on commit 895646f

Please sign in to comment.