Nodejs: Authentication with JWT

Nodejs: Authentication with JWT

Professional Development

10 Qs

quiz-placeholder

Similar activities

Introduction to JSON

Introduction to JSON

Professional Development

6 Qs

Nodejs: Express

Nodejs: Express

Professional Development

11 Qs

Banca Digital

Banca Digital

Professional Development

10 Qs

Sec+ Quiz 2.0

Sec+ Quiz 2.0

Professional Development

10 Qs

Data Analysis Intro

Data Analysis Intro

Professional Development

12 Qs

Go Digital 2019

Go Digital 2019

Professional Development

10 Qs

Token Economy

Token Economy

Professional Development

9 Qs

Workshop Vue.js Node Stytch

Workshop Vue.js Node Stytch

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?

Discover more resources for Professional Development