ReallySimpleJWT
ReallySimpleJWT copied to clipboard
Documentation incorrect
Hi Mr Waller,
Firstly, awesome library.
Secondly, I believe the readme needs an update.
validateExpiration is performed in validate, and validateExpiration is no longer part of Token?
I'll have a look at this thanks. 👍
Also validateNotBefore is performed in validate, but it's not added in Token::create.
Hi, I'm just looking at the documentation and code here and the methods referred to are in the code...
https://github.com/RobDWaller/ReallySimpleJWT/blob/master/src/Token.php#L115 https://github.com/RobDWaller/ReallySimpleJWT/blob/master/src/Token.php#L124
Are you updating from an older version with a slightly different interface?
@RobDWaller I believe I used the latest, but when actually attempting to use those functions, they did not work.
Ok, thanks for the feedback, I'm adding some updates to the documentation and will do some more testing to see if something is wrong. 👍