diff --git a/README.md b/README.md index 1dd00b88..eacdeb90 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,7 @@ $token = (new Builder())->setIssuer('http://example.com') // Configures the issu ->setId('4f1g23a12aa', true) // Configures the id (jti claim), replicating as a header item ->setIssuedAt(time()) // Configures the time that the token was issue (iat claim) ->setNotBefore(time() + 60) // Configures the time that the token can be used (nbf claim) - ->setExpiration(time() + 3600) // Configures the expiration time of the token (nbf claim) + ->setExpiration(time() + 3600) // Configures the expiration time of the token (exp claim) ->set('uid', 1) // Configures a new claim, called "uid" ->sign($signer, 'testing') // creates a signature using "testing" as key ->getToken(); // Retrieves the generated token