MCPcopy Index your code
hub / github.com/rilldata/rill / DeviceAuthenticator

Struct DeviceAuthenticator

cli/pkg/deviceauth/authenticator.go:55–60  ·  view source on GitHub ↗

DeviceAuthenticator performs the authentication flow for logging in.

Source from the content-addressed store, hash-verified

53
54// DeviceAuthenticator performs the authentication flow for logging in.
55type DeviceAuthenticator struct {
56 client *http.Client
57 BaseURL *url.URL
58 Clock clock.Clock
59 ClientID string
60}
61
62// New returns an instance of the DeviceAuthenticator
63func New(authURL string) (*DeviceAuthenticator, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected