Skip to content

feat(laravel-soap-125): Adding auth middleware for DHL #127

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

Merged
merged 4 commits into from
Apr 15, 2021

Conversation

CodeDredd
Copy link
Owner

This adds a custom middleware used by DHL

$client = Soap::withCisDHLAuth('user', 'signature')

closes #125

@CodeDredd CodeDredd added the feature New feature or request label Apr 14, 2021
@CodeDredd CodeDredd added this to the 2.0 milestone Apr 14, 2021
@CodeDredd CodeDredd self-assigned this Apr 14, 2021
Co-authored-by: Gregor Becker <[email protected]>
$domDoc->documentElement->setAttributeNS('http://www.w3.org/2000/xmlns/', 'xmlns:cis', self::CIS_NS);

$header = $domDoc->createElementNS('http://schemas.xmlsoap.org/soap/envelope/', 'SOAP-ENV:Header');
$cisAuth = $domDoc->createElementNS(self::CIS_NS, 'cis:Authentication');
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cis:Authentification

@CodeDredd CodeDredd merged commit ab8f44c into master Apr 15, 2021
@CodeDredd CodeDredd deleted the feature/laravel-soap-125 branch April 15, 2021 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SoapHeader
2 participants