Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Securing Swagger API Documentation with an API Key (JWT)
Rating: 4.4 out of 5(10 ratings)
128 students

Securing Swagger API Documentation with an API Key (JWT)

Learn how to secure Swagger API Docs by requiring an API Key (Json Web Token)
Created byGet Arrays
Last updated 1/2021
English

What you'll learn

  • What is an API
  • What is API documentation
  • Why documenting APIs
  • What is Swagger
  • Swagger Configuration
  • Securing Swagger API Docs with an API Key
  • API Resource Docs Configuration
  • Angular Service
  • Angular HTTP Communication
  • Angular Interceptor
  • Angular Guard
  • Local Storage Caching
  • Leaflet Map API

Course content

5 sections43 lectures3h 20m total length
  • Introduction1:00

    Learn what api documentation is and why to secure it with Swagger, api keys, and jwt, then implement and configure Swagger to issue keys in an Angular app.

  • Application demo1:20

    Explore how to use swagger api documentation to try endpoints, log in to obtain a jwt token, and authorize requests with an api key to see real responses.

  • Prerequisites2:08

    Develop a foundation in Java, Spring, and security to configure Swagger on an existing Java Spring app, and gain API concepts, JSON Web Tokens, Angular, and TypeScript familiarity.

  • Course outline2:22

    Explore the course outline for securing Swagger api documentation with an api key, covering api documentation basics, Swagger configuration, security concepts, and building a sample app from scratch.

  • How to get the most out of this course4:39

    Take the security course first, then learn to secure an API with Swagger and JWT. Watch all lectures, code along, and ask questions for fast help.

  • Environment setup3:49

    Install Java, Node.js with npm, and the Angular CLI to set up the Java Spring Boot backend and the Angular frontend.

  • Asking questions and source code0:50

Requirements

  • JSON Web Token with Spring Security And Angular (Udemy course)
  • Knowledge of Spring Boot
  • Understanding Json Web Token
  • Basics of Angular
  • TypeScript
  • HTML, CSS, JavaScript

Description

API stands for Application Programming Interface. An API is a software intermediary that allows two applications to communicate and exchange data. It is one of the main drivers of our world of communication as we know today.

API documentation is a technical content deliverable, containing instructions about how to effectively use and integrate with an API. It’s a concise reference manual containing all the information required to work with the API, with details about the functions, classes, return types, arguments and more, supported by tutorials and examples. In this course, you will learn how to use Swagger to generate the API Documentation of any Spring Boot Application. This course covers how to add the main Swagger configuration class to configuring and customizing the Swagger User Interface.

This course also dives into Angular components, Angular Forms, Angular Routing, and Angular Services. It goes into Angular HTTP Communication, Angular Guard, and Angular Interceptors to manage Caching (web cache or HTTP cache) to create a front end application to allow user to get an API Key.

Who this course is for:

  • Developers interested in API Documantation
  • Developers interested in Json Web Token
  • Developers interested in Spring Security
  • Developers interested in Angular
  • Developers interested in Leaflet Map API