Documents the service client reads on the resource server: the
Document model, the two ports
(DocumentGateway with the client's own token and
OnBehalfOfDocumentGateway on behalf of a user) and
the failure they report.
Command-line client of the OAuth 2.0 device authorization grant (RFC 8628): requests a device code, shows the user
code and verification URI, and polls the token endpoint until the user approves the request.