Nodejs: Authentication with JWT

Nodejs: Authentication with JWT

Professional Development

10 Qs

quiz-placeholder

Similar activities

Flask API Lesson 2

Flask API Lesson 2

Professional Development

10 Qs

Nodejs: Express Authorization and Authentication

Nodejs: Express Authorization and Authentication

Professional Development

10 Qs

Nodejs: Templating with EJS

Nodejs: Templating with EJS

Professional Development

10 Qs

The New Art & Science of Teaching 36. Rules & Procedures

The New Art & Science of Teaching 36. Rules & Procedures

Professional Development

8 Qs

PREGUNTAS

PREGUNTAS

Professional Development

10 Qs

Flask API Lesson 1

Flask API Lesson 1

Professional Development

10 Qs

Testando Serviços Web com Postman

Testando Serviços Web com Postman

Professional Development

7 Qs

A plus quiz

A plus quiz

Professional Development

10 Qs

Nodejs: Authentication with JWT

Nodejs: Authentication with JWT

Assessment

Quiz

Professional Development

Professional Development

Medium

Created by

Daniel Adesoji

Used 12+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What is the full meaning of JWT?

JSON Web Tokens

JSON Web Tokens

JSON Web Tokens

JSON Web Tokens

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

what method encodes an object with jwt?

jwt.sign

jwt.encode

jwt.decode

jwt.verify

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To retrieve information from a JWT token, what method do we use?

jwt.sign

jwt.verify

jwt.retrieve

jwt.decode

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When making an API request to a protected route, where is the token placed as part of the request

headers

body

query

path

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What authentication type can we use when passing a token(jwt)?

Bearer Token

Basic Auth

API Keys

OAuth

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can we invalidate a token

set an invalidation option

set an expiry option

delete the token

none of the options

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

As part of the JWT token, what makes the token unique?

header

body

secret

segments

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?