package
1.0.1
Repository: https://github.com/cli/oauth.git
Documentation: pkg.go.dev

# Functions

PollToken polls the server at pollURL until an access token is granted or denied.
RequestCode initiates the authorization flow by requesting a code from uri.
Wait polls the server at uri until authorization completes.

# Variables

ErrTimeout is thrown when polling the server for the granted token has timed out.
ErrUnsupported is thrown when the server does not implement Device flow.

# Structs

CodeResponse holds information about the authorization-in-progress.
WaitOptions specifies parameters to poll the server with until authentication completes.