mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-04 00:00:37 -04:00
20 lines
356 B
Plaintext
20 lines
356 B
Plaintext
module HTTPX
|
|
module Plugins
|
|
module Authentication
|
|
class Basic
|
|
@user: String
|
|
@password: String
|
|
|
|
def can_authenticate?: (String? authenticate) -> boolish
|
|
|
|
def authenticate: (*untyped) -> String
|
|
|
|
private
|
|
|
|
def initialize: (string user, string password, *untyped) -> void
|
|
|
|
end
|
|
end
|
|
end
|
|
end
|