class

OAuth::DeviceFlow::Client

Inherits Reference < Object

Constructors

new(base_url : String, client_id : String, store : Store, authorize_path : String = "/oauth/authorize_device", token_path : String = "/oauth/token", open_browser : Bool = true, output : IO = STDOUT)
Source

Instance methods

access_token
Source
authenticate(scope : String) : Token
Source
authenticated?
Source
logout
Source
poll_for_token(device : DeviceCode) : Token
Source
refresh!
Source
request_device_code(scope : String) : DeviceCode
Source