package
0.209.0
Repository: https://github.com/planetscale/cli.git
Documentation: pkg.go.dev

# Functions

New returns an instance of the DeviceAuthenticator.
SetBaseURL overrides the base URL for the DeviceAuthenticator.
WithMockClock replaces the clock on the authenticator with a mock clock.

# Constants

No description provided by the author
No description provided by the author
This is safe to be committed to version control, since our OAuth Application isn't confidential.

# Structs

DeviceAuthenticator performs the authentication flow for logging in.
DeviceCodeResponse encapsulates the response for obtaining a device code.
DeviceVerification represents the response from verifying a device.
ErrorResponse is an error response from the API.
OAuthTokenResponse contains the information returned after fetching an access token for a device.

# Interfaces

Authenticator is the interface for authentication via device oauth.

# Type aliases

No description provided by the author