Google News
logo
Koa.js - Quiz(MCQ)
Which of the following methods is used to determine if a user is authenticated?
A)
ctx.isAuthenticated()
B)
obj.isAuthenticated()
C)
app.isAuthenticated()
D)
session.isAuthenticated()

Correct Answer :   ctx.isAuthenticated()


Explanation : ctx.isAuthenticated() method is used to determine if a user is authenticated.

Advertisement