Initial work towards authentication

This commit is contained in:
2026-10-17 19:37:31 -05:00
parent ec3b1fa068
commit cb80364e68
5 changed files with 122 additions and 30 deletions

View File

@@ -30,6 +30,14 @@ module W3DHubLauncher
def self.account
end
def self.user_login(username, password, &block)
W3DHubLauncher::Worker::Request.new(:w3dhub_api_call, { call: :user_login, arguments: [username, password] }, &block)
end
def self.refresh_user_login(refresh_token, &block)
W3DHubLauncher::Worker::Request.new(:w3dhub_api_call, { call: :refresh_user_login, arguments: [refresh_token] }, &block)
end
# returns launcher settings
def self.settings
end