Rizal Hilman | Cara Membuat & Mengamankan REST API. Authorization vs Authentication #BelajarAPI @RizalHilman | Uploaded 3 years ago | Updated October 17 2023
Cara Membuat dan Mengamankan REST API dengan contoh implementasi menggunakan bahasa PHP untuk membuat API berita.
Video ini menjelaskan:
1. Kenapa API perlu diamankan?
2. Cara mengamankan API?
3. Contoh Public API?
4. Cara kerja API Key?
4. Cara menggunakan API key di PHP?
References:
Basic Auth:
- https://nordicapis.com/3-common-methods-api-authentication-explained/
- https://gist.github.com/rchrd2/c94eb4701da57ce9a0ad4d2b00794131
- https://www.codepunker.com/blog/php-a-primer-on-the-basic-authorization-header
OAuth:
- https://nordicapis.com/3-common-methods-api-authentication-explained/
- https://www.varonis.com/blog/what-is-oauth/
- https://developer.byu.edu/docs/consume-api/use-api/oauth-20/oauth-20-php-sample-code
- https://bshaffer.github.io/oauth2-server-php-docs/cookbook/
Cara Membuat dan Mengamankan REST API dengan contoh implementasi menggunakan bahasa PHP untuk membuat API berita.
Video ini menjelaskan:
1. Kenapa API perlu diamankan?
2. Cara mengamankan API?
3. Contoh Public API?
4. Cara kerja API Key?
4. Cara menggunakan API key di PHP?
References:
Basic Auth:
- https://nordicapis.com/3-common-methods-api-authentication-explained/
- https://gist.github.com/rchrd2/c94eb4701da57ce9a0ad4d2b00794131
- https://www.codepunker.com/blog/php-a-primer-on-the-basic-authorization-header
OAuth:
- https://nordicapis.com/3-common-methods-api-authentication-explained/
- https://www.varonis.com/blog/what-is-oauth/
- https://developer.byu.edu/docs/consume-api/use-api/oauth-20/oauth-20-php-sample-code
- https://bshaffer.github.io/oauth2-server-php-docs/cookbook/