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

wsse_auth_callback: Code vs Documentation #268

Open
tomuench opened this issue Nov 29, 2019 · 1 comment
Open

wsse_auth_callback: Code vs Documentation #268

tomuench opened this issue Nov 29, 2019 · 1 comment

Comments

@tomuench
Copy link

Dear Team,

i have a mismatch between your Documentation and the Implementation. Your implementation expects an arity of 4 but the documentation expects an arity of 2

Implementation:

return !!soap_config.wsse_auth_callback && soap_config.wsse_auth_callback.respond_to?(:call) && soap_config.wsse_auth_callback.arity == 4

Documentation:
https://github.com/inossidabile/wash_out#dynamic-authentication

Which one is right?

Best Wishes

@felipesaldias
Copy link

felipesaldias commented Apr 18, 2023

I had to use with arity 4 the callback function to be defined.

Example:

soap_service namespace: 'urn:WashOut', wsse_auth_callback: ->(username, password, nonce, create) {...}

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