class

Crig::Providers::Copilot::OAuth::Authenticator

Inherits Reference < Object

Constructors

new(api_key_file : String | Nil = nil, on_device_code : Proc(DeviceCodePrompt, Nil) | Nil = nil)
Source

Instance methods

auth_context

Get a valid Copilot API key, either from cache or via device code flow.

Source