This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Keychain.swift | |
// SecKeychain | |
// | |
// Created by Paul Wagener on 01-11-17. | |
// Copyright © 2017 Paul Wagener. All rights reserved. | |
// | |
import Foundation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Banco do Brasil = "bbapp://" | |
Bradesco = "BDNiPhoneVarejo://" | |
Bradesco Prime = "BDNiPhonePrime://" | |
Itaú = "itauvarejo://" | |
Itaú Personnalité = "itaupersonnalite://" | |
Santander = "santanderpf://" | |
Sicoob = "sicoob://" | |
Neon = "banconeon://" | |
Nubank = "nuapp://" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This client extends the ususal SoapClient to handle mtom encoding. Due | |
* to mtom encoding soap body has test apart from valid xml. This extension | |
* remove the text and just keeps the response xml. | |
*/ | |
class MTOMSoapClient extends SoapClient { | |
public function __doRequest($request, $location, $action, $version, $one_way = 0) { | |
$response = parent::__doRequest($request, $location, $action, $version, $one_way); | |
//if resposnse content type is mtom strip away everything but the xml. |