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

Question: DAV Client Bearer Auth #1579

Open
tschlaeppi opened this issue Jan 1, 2025 · 0 comments
Open

Question: DAV Client Bearer Auth #1579

tschlaeppi opened this issue Jan 1, 2025 · 0 comments

Comments

@tschlaeppi
Copy link

Hi,

Question: can I send a bearer token in the auth header with the Sabre\DAV\Client?

the public function request($method, $url = '', $body = null, array $headers = []) accepts a $header array, which I beleive that it might work, but the public function propFind(string $url, array $properties, int $depth = 0): array lacks such an input.

I was wondering, if it might be another solution without changing the code in Sabre\DAV.

Thanks for your help,

Thomas

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

1 participant