Google News
logo
Koa.js - Quiz(MCQ)
Which of the following methods is used to validate a user's credentials?
A)
is.authenticate()
B)
app.authenticate()
C)
User. ctx.authenticate()
D)
ctx.authenticate()

Correct Answer :   ctx.authenticate()


Explanation : ctx.authenticate() method is used to validate a user's credentials.

Advertisement