Uses of Interface
com.irurueta.authserver.serviceclient.device.PollOutcome
Packages that use PollOutcome
Package
Description
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.
-
Uses of PollOutcome in com.irurueta.authserver.serviceclient.device
Classes in com.irurueta.authserver.serviceclient.device that implement PollOutcomeModifier and TypeClassDescriptionstatic final recordAny other error (access_denied,expired_token, ...): the flow is over.static final recordThe user approved the request.static final recordauthorization_pending: the user has not decided yet; poll again after the same interval.static final recordslow_down: polling too fast; the interval grows byDeviceFlowCli.SLOW_DOWN_INCREMENT_SECONDS.Methods in com.irurueta.authserver.serviceclient.device that return PollOutcomeModifier and TypeMethodDescriptionPolls the token endpoint once.private PollOutcomeDeviceAuthorizationClient.toOutcome(DeviceAuthorizationClient.OAuthError error) Maps an error response of the token endpoint to a poll outcome.