12 - Refresh Expired JWT in Symfony 4 REST

This is the very basic setup for the back-end of how to refresh a jwt token in Symfony 4, it doesn’t include the client section, that’s something that i will be doing in some future videos.

Git repository : https://github.com/konshensx16/symfony-todo-backend

#symfony 4 rest #jwt

What is GEEK

Buddha Community

12 - Refresh Expired JWT in Symfony 4 REST

12 - Refresh Expired JWT in Symfony 4 REST

This is the very basic setup for the back-end of how to refresh a jwt token in Symfony 4, it doesn’t include the client section, that’s something that i will be doing in some future videos.

Git repository : https://github.com/konshensx16/symfony-todo-backend

#symfony 4 rest #jwt

18 - Symfony 4 REST: In a httponly cookie, refresh the JWT token

This video covers how you can change the default behavior of refreshing expired JWT tokens from using request parameters to extracting the value from cookie, Well to be honest everything is still the same we just hacked around it a bit :)

Git repository : https://github.com/konshensx16/symfony-todo-backend

#symfony 4 rest #jwt #httponly cookie

Wilford  Pagac

Wilford Pagac

1594289280

What is REST API? An Overview | Liquid Web

What is REST?

The REST acronym is defined as a “REpresentational State Transfer” and is designed to take advantage of existing HTTP protocols when used for Web APIs. It is very flexible in that it is not tied to resources or methods and has the ability to handle different calls and data formats. Because REST API is not constrained to an XML format like SOAP, it can return multiple other formats depending on what is needed. If a service adheres to this style, it is considered a “RESTful” application. REST allows components to access and manage functions within another application.

REST was initially defined in a dissertation by Roy Fielding’s twenty years ago. He proposed these standards as an alternative to SOAP (The Simple Object Access Protocol is a simple standard for accessing objects and exchanging structured messages within a distributed computing environment). REST (or RESTful) defines the general rules used to regulate the interactions between web apps utilizing the HTTP protocol for CRUD (create, retrieve, update, delete) operations.

What is an API?

An API (or Application Programming Interface) provides a method of interaction between two systems.

What is a RESTful API?

A RESTful API (or application program interface) uses HTTP requests to GET, PUT, POST, and DELETE data following the REST standards. This allows two pieces of software to communicate with each other. In essence, REST API is a set of remote calls using standard methods to return data in a specific format.

The systems that interact in this manner can be very different. Each app may use a unique programming language, operating system, database, etc. So, how do we create a system that can easily communicate and understand other apps?? This is where the Rest API is used as an interaction system.

When using a RESTful API, we should determine in advance what resources we want to expose to the outside world. Typically, the RESTful API service is implemented, keeping the following ideas in mind:

  • Format: There should be no restrictions on the data exchange format
  • Implementation: REST is based entirely on HTTP
  • Service Definition: Because REST is very flexible, API can be modified to ensure the application understands the request/response format.
  • The RESTful API focuses on resources and how efficiently you perform operations with it using HTTP.

The features of the REST API design style state:

  • Each entity must have a unique identifier.
  • Standard methods should be used to read and modify data.
  • It should provide support for different types of resources.
  • The interactions should be stateless.

For REST to fit this model, we must adhere to the following rules:

  • Client-Server Architecture: The interface is separate from the server-side data repository. This affords flexibility and the development of components independently of each other.
  • Detachment: The client connections are not stored on the server between requests.
  • Cacheability: It must be explicitly stated whether the client can store responses.
  • Multi-level: The API should work whether it interacts directly with a server or through an additional layer, like a load balancer.

#tutorials #api #application #application programming interface #crud #http #json #programming #protocols #representational state transfer #rest #rest api #rest api graphql #rest api json #rest api xml #restful #soap #xml #yaml

14 - Symfony 4 REST: httponly cookie for secure JWT exchange

Well this video covers how you can set an httponly cookie in symfony 4 using lexik jwt authentication bundle, any questions are welcome.

Git repository : https://github.com/konshensx16/symfony-todo-backend

#symfony 4 rest #httponly #jwt

01 - Potential Project using Symfony 4 REST

This is the first video of the symfony 4 series rest-ful tutorial, where we try to build an application from start by implementing both the back and front end ourselves, This video goes through the potential project that we will try to create (We will try to make something better since this is just trash)

Git repository : https://github.com/konshensx16/symfony-todo-backend.

#symfony 4 #rest #potential project