Quiz Yourself: Authenticating the Users

Test your knowledge about JWT and other data securing methods.

1

How do we build a valid JWT token with the given payload payload = {email: 'john@doe.org'}?

A)

JWT.encrypt(payload, 'my_secret_key')

B)

JWT.encrypt(payload)

C)

JWT.encode(payload, 'my_secret_key')

D)

JWT.encode(payload)

Question 1 of 30 attempted

Get hands-on with 1200+ tech skills courses.