Комментарии:
It is important to understand that the purpose of using JWT is NOT to hide or obscure data in any way. The reason why JWT are used is to prove that the sent data was actually created by an authentic source.
Since JWT are signed and encoded only, and since JWT are not encrypted, JWT do not guarantee any security for sensitive data.
could you show the library you imported to the file? cause when i try it, i got this error Call to undefined method Jwttest::_apiConfig(). those link above mostly are broken link. thank you
Ответитьhow to get other parameter from api like username and password using post
Ответитьwhat if i dont want to use view data as api,, i mean i want to use in the system to decode token in order to give request if token is valid
Ответитьfinally, a comprehensive video about CI + JWT. Thanks!
ОтветитьI copied the entire project to test it and I have a 500 error with the function "user_api / api_key" is the only one that presents errors. because it can be?
ОтветитьWell explained... recommended
ОтветитьThanks!
ОтветитьSUPER SUPER
Ответитьbhai bol kr bta dete to jayada acche se samaj aata.....please make some video vocal instead of background music.
ОтветитьHi, I am stuck on the login function where I already get the token when I echo
$token = $this->authorization_token->generateToken($payload);
but whenever I use
$this->api_return(
[
'status' => true,
"result" => [
'token' => $token,
],
],
200)
it will return me 500 Internal Server Error.
Excelente tutorial
ОтветитьQuick question, if you enter the wrong token (same length as generated token), it will still work?
Ответить