Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add basic auth #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

add basic auth #15

wants to merge 1 commit into from

Conversation

giwa
Copy link

@giwa giwa commented Jul 19, 2019

Thanks to #11, we can use basic auth by customizing Faraday.connection. Since BasicAuthentication is provided by Kintone platform, it's worth to provide a method from the library. Otherwise, it should be documented like below at least. I'm the one who could not figure out how to handle basic auth lol.

# Basic authentication
api = Kintone::Api.new("devhopjsm.cybozu.com", "token") do |connection|
     connection.basic_auth("user", "password")
end

@giwa giwa changed the title add basic auth [WIP] add basic auth Jul 19, 2019
@giwa giwa changed the title [WIP] add basic auth add basic auth Jul 19, 2019
@giwa
Copy link
Author

giwa commented Aug 19, 2019

@jue58 ping

@sy250
Copy link

sy250 commented Nov 21, 2019

#11 マージはされましたが、リリースされていないようです。
#11 のパッチを当てることで、#15 のコードでBasic認証に対応できます。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants