WeMedia01 interview question

What is the process of jwt authentication? How do design an api ?