Nodejs: Authentication with JWT

Nodejs: Authentication with JWT

Professional Development

10 Qs

quiz-placeholder

Similar activities

AZ_204_Module2

AZ_204_Module2

Professional Development

9 Qs

ATIOM #2

ATIOM #2

Professional Development

10 Qs

Nodejs: Packages and Package.json

Nodejs: Packages and Package.json

Professional Development

15 Qs

Flask API Lesson 4

Flask API Lesson 4

Professional Development

10 Qs

Quiz de Desenvolvimento WEB Backend

Quiz de Desenvolvimento WEB Backend

Professional Development

15 Qs

NDP Training - Quiz 2

NDP Training - Quiz 2

Professional Development

10 Qs

Server and APIs

Server and APIs

Professional Development

10 Qs

AZ-204-Module-2

AZ-204-Module-2

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?