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

Certificates #52

Open
julio-prezero opened this issue Sep 25, 2023 · 3 comments
Open

Certificates #52

julio-prezero opened this issue Sep 25, 2023 · 3 comments

Comments

@julio-prezero
Copy link

How can I set a local certificate file to the requests?

@bgmulinari
Copy link
Owner

Hi, @julio-prezero.

Unfortunately, setting a client certificate is not possible as of now. It's definitely something on the list of possible improvements for version 2.0.

@julio-prezero
Copy link
Author

julio-prezero commented Sep 25, 2023 via email

@bgmulinari
Copy link
Owner

@julio-prezero, Service Layer's authentication is already taken care of automatically by B1SLayer. The login is performed whenever necessary and the required session cookies are always sent in your requests. If you wish to add additional entries to the request headers, you can use the WithHeader extension method.

The SLRequest class has a number of extension methods that can help you configure your request.

I recommend checking the README and my blog post for more info on B1SLayer's usage.

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

No branches or pull requests

2 participants