#6 CodeIgniter 3.x Restful #API Library - REST API with Token Authorization

#6 CodeIgniter 3.x Restful #API Library - REST API with Token Authorization

C Tech Hindi

5 лет назад

23,424 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

C Tech Hindi
C Tech Hindi - 01.09.2018 18:14

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.

Ответить
Nedya Utami
Nedya Utami - 08.12.2021 11:13

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

Ответить
Arun
Arun - 09.08.2020 16:49

how to get other parameter from api like username and password using post

Ответить
charles thomas
charles thomas - 07.05.2020 11:14

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

Ответить
Tommy M
Tommy M - 21.04.2020 12:06

finally, a comprehensive video about CI + JWT. Thanks!

Ответить
Instantanneo Mkd
Instantanneo Mkd - 02.03.2020 08:43

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?

Ответить
zain ul abaidin
zain ul abaidin - 06.08.2019 23:58

Well explained... recommended

Ответить
Gürcan Ataman
Gürcan Ataman - 28.07.2019 13:39

Thanks!

Ответить
Sxt Box
Sxt Box - 29.06.2019 22:42

SUPER SUPER

Ответить
arpit dubey
arpit dubey - 28.11.2018 09:29

bhai bol kr bta dete to jayada acche se samaj aata.....please make some video vocal instead of background music.

Ответить
Tan Yann Loon
Tan Yann Loon - 12.10.2018 11:09

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.

Ответить
Fernando Muñoz
Fernando Muñoz - 13.09.2018 08:26

Excelente tutorial

Ответить
Nerdz/Aced
Nerdz/Aced - 10.09.2018 02:13

Quick question, if you enter the wrong token (same length as generated token), it will still work?

Ответить