Interface PollOutcome
- All Known Implementing Classes:
PollOutcome.Failed,PollOutcome.Granted,PollOutcome.Pending,PollOutcome.SlowDown
public sealed interface PollOutcome
permits PollOutcome.Granted, PollOutcome.Pending, PollOutcome.SlowDown, PollOutcome.Failed
What one poll of the token endpoint answered (RFC 8628 section 3.5).
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic 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.