class

Crig::Providers::ChatGPT::OAuth::Authenticator

Inherits Reference < Object

Constructors

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

Instance methods

auth_context

Get a valid auth context, either from cache or via device code flow.

Source
authorized?
Source