Skip to content
instance method

URI::Generic#check_userinfo

(::String user, ?::String? password) -> true
check_userinfo(user, password = nil)

Checks the user and password.

If password is not provided, then user is split, using URI::Generic.split_userinfo, to pull user and +password.

See also URI::Generic.check_user, URI::Generic.check_password.

See also #check_user #coerce #check_scheme #component also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0