Method VerifyDeviceCodeAsync(string, string, string, CancellationToken)

Assembly: redb.Identity.Web.dll

BFF-relayed end-user verification for the OAuth 2.0 Device Authorization Grant
(RFC 8628 §3.3). The browser is logged into the BFF (cookie-auth); the BFF has
an OIDC access_token for the user from a prior login. We forward the
user_code + decision ("allow"/"deny") to the host's /connect/device/verify
endpoint with the access_token as a Bearer header — the host's bearer-aware
HandleVerificationRequestHandler validates the JWT, materialises
the principal, and finishes the grant.

public Task<DeviceVerifyResult> VerifyDeviceCodeAsync(string userCode, string action, string accessToken, CancellationToken ct = default)