codejump

Security Basics — Series 2

Preview — 3 of 10 questions

Which helper extracts an API key from a query parameter?

AAPIKeyQuery
BAPIKeyHeader
CHTTPBasic
DOAuth2PasswordBearer

Which helper extracts an API key from a request cookie?

AHTTPBearer
BAPIKeyCookie
COAuth2PasswordRequestForm
DRequestValidationError

What does HTTPBearer provide when a Bearer header is present?

AA verified database user
BA password hash
CAn HTTPAuthorizationCredentials value
DA signed response cookie

Sign up free to play

Answer all 10 questions (7 more), see explanations for every answer, and track your score.