Skip to content

Commit

Permalink
Update SDK with API v2.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dforsber committed Aug 25, 2017
1 parent 0a0c682 commit 24d4acb
Show file tree
Hide file tree
Showing 82 changed files with 155 additions and 149 deletions.
2 changes: 1 addition & 1 deletion wscli-php-sdk/swagger-php-sdk/SwaggerClient-php/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ The API provides normal file based access to all common banks in Finland via Web

This PHP package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:

- API version: v2.1.0
- API version: v2.2.3
- Package version: 0.1.0
- Build package: io.swagger.codegen.languages.PhpClientCodegen
For more information, please visit [https://www.isecure.fi/](https://www.isecure.fi/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* The API provides normal file based access to all common banks in Finland via WebServices channel on the service side, including certificate enrollment (PKI) with automatic renewals. Additionally, user account management, password recovery, and SMS based 2nd or Multi Factor Authentication (MFA) are provided (AWS Cognito Your User Pool). Access is secured with HTTPS/TLS (AWS API Gateway), using email address as username and password. On login, password is RSA encrypted along with dynamic parameters fetched from the service (username specific challenge response). Every integrator has own API Key and every user account belongs to one integrator. Certificate sharing between accounts is possible under the same integrator API Key, meaning that the enrolled bank connection certificates are shared. Under the same email address / username, both *admin* and *data* accounts must be used as they have separate passwords and differing functions.
*
* OpenAPI spec version: v2.1.0
* OpenAPI spec version: v2.2.3
* Contact: dan.forsberg@isecure.fi
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ No authorization required
Logout

Logout invalidates _IdToken_.
Logout user. - **NOTE**: AWS Cognito allows user logout, but the received authorization _IdToken_ **is still valid**. AWS hopefully fixes this soon.

### Example
```php
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**cert** | **string** | |
**encrypted_key** | **string** | | [optional]
**certificate** | **string** | |
**encrypted_private_key** | **string** | |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**certs** | [**\Swagger\Client\Model\CertsAndKeys[]**](CertsAndKeys.md) | |
**certificates_and_keys** | [**\Swagger\Client\Model\CertsAndKeys[]**](CertsAndKeys.md) | |
**response_code** | **string** | |
**response_text** | **string** | |

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**certs** | [**\Swagger\Client\Model\CertDescription[]**](CertDescription.md) | |
**certificates** | [**\Swagger\Client\Model\CertDescription[]**](CertDescription.md) | |
**response_code** | **string** | |
**response_text** | **string** | |

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The API provides normal file based access to all common banks in Finland via WebServices channel on the service side, including certificate enrollment (PKI) with automatic renewals. Additionally, user account management, password recovery, and SMS based 2nd or Multi Factor Authentication (MFA) are provided (AWS Cognito Your User Pool). Access is secured with HTTPS/TLS (AWS API Gateway), using email address as username and password. On login, password is RSA encrypted along with dynamic parameters fetched from the service (username specific challenge response). Every integrator has own API Key and every user account belongs to one integrator. Certificate sharing between accounts is possible under the same integrator API Key, meaning that the enrolled bank connection certificates are shared. Under the same email address / username, both *admin* and *data* accounts must be used as they have separate passwords and differing functions.
*
* OpenAPI spec version: v2.1.0
* OpenAPI spec version: v2.2.3
* Contact: dan.forsberg@isecure.fi
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The API provides normal file based access to all common banks in Finland via WebServices channel on the service side, including certificate enrollment (PKI) with automatic renewals. Additionally, user account management, password recovery, and SMS based 2nd or Multi Factor Authentication (MFA) are provided (AWS Cognito Your User Pool). Access is secured with HTTPS/TLS (AWS API Gateway), using email address as username and password. On login, password is RSA encrypted along with dynamic parameters fetched from the service (username specific challenge response). Every integrator has own API Key and every user account belongs to one integrator. Certificate sharing between accounts is possible under the same integrator API Key, meaning that the enrolled bank connection certificates are shared. Under the same email address / username, both *admin* and *data* accounts must be used as they have separate passwords and differing functions.
*
* OpenAPI spec version: v2.1.0
* OpenAPI spec version: v2.2.3
* Contact: dan.forsberg@isecure.fi
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The API provides normal file based access to all common banks in Finland via WebServices channel on the service side, including certificate enrollment (PKI) with automatic renewals. Additionally, user account management, password recovery, and SMS based 2nd or Multi Factor Authentication (MFA) are provided (AWS Cognito Your User Pool). Access is secured with HTTPS/TLS (AWS API Gateway), using email address as username and password. On login, password is RSA encrypted along with dynamic parameters fetched from the service (username specific challenge response). Every integrator has own API Key and every user account belongs to one integrator. Certificate sharing between accounts is possible under the same integrator API Key, meaning that the enrolled bank connection certificates are shared. Under the same email address / username, both *admin* and *data* accounts must be used as they have separate passwords and differing functions.
*
* OpenAPI spec version: v2.1.0
* OpenAPI spec version: v2.2.3
* Contact: dan.forsberg@isecure.fi
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The API provides normal file based access to all common banks in Finland via WebServices channel on the service side, including certificate enrollment (PKI) with automatic renewals. Additionally, user account management, password recovery, and SMS based 2nd or Multi Factor Authentication (MFA) are provided (AWS Cognito Your User Pool). Access is secured with HTTPS/TLS (AWS API Gateway), using email address as username and password. On login, password is RSA encrypted along with dynamic parameters fetched from the service (username specific challenge response). Every integrator has own API Key and every user account belongs to one integrator. Certificate sharing between accounts is possible under the same integrator API Key, meaning that the enrolled bank connection certificates are shared. Under the same email address / username, both *admin* and *data* accounts must be used as they have separate passwords and differing functions.
*
* OpenAPI spec version: v2.1.0
* OpenAPI spec version: v2.2.3
* Contact: dan.forsberg@isecure.fi
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The API provides normal file based access to all common banks in Finland via WebServices channel on the service side, including certificate enrollment (PKI) with automatic renewals. Additionally, user account management, password recovery, and SMS based 2nd or Multi Factor Authentication (MFA) are provided (AWS Cognito Your User Pool). Access is secured with HTTPS/TLS (AWS API Gateway), using email address as username and password. On login, password is RSA encrypted along with dynamic parameters fetched from the service (username specific challenge response). Every integrator has own API Key and every user account belongs to one integrator. Certificate sharing between accounts is possible under the same integrator API Key, meaning that the enrolled bank connection certificates are shared. Under the same email address / username, both *admin* and *data* accounts must be used as they have separate passwords and differing functions.
*
* OpenAPI spec version: v2.1.0
* OpenAPI spec version: v2.2.3
* Contact: dan.forsberg@isecure.fi
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* The API provides normal file based access to all common banks in Finland via WebServices channel on the service side, including certificate enrollment (PKI) with automatic renewals. Additionally, user account management, password recovery, and SMS based 2nd or Multi Factor Authentication (MFA) are provided (AWS Cognito Your User Pool). Access is secured with HTTPS/TLS (AWS API Gateway), using email address as username and password. On login, password is RSA encrypted along with dynamic parameters fetched from the service (username specific challenge response). Every integrator has own API Key and every user account belongs to one integrator. Certificate sharing between accounts is possible under the same integrator API Key, meaning that the enrolled bank connection certificates are shared. Under the same email address / username, both *admin* and *data* accounts must be used as they have separate passwords and differing functions.
*
* OpenAPI spec version: v2.1.0
* OpenAPI spec version: v2.2.3
* Contact: dan.forsberg@isecure.fi
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The API provides normal file based access to all common banks in Finland via WebServices channel on the service side, including certificate enrollment (PKI) with automatic renewals. Additionally, user account management, password recovery, and SMS based 2nd or Multi Factor Authentication (MFA) are provided (AWS Cognito Your User Pool). Access is secured with HTTPS/TLS (AWS API Gateway), using email address as username and password. On login, password is RSA encrypted along with dynamic parameters fetched from the service (username specific challenge response). Every integrator has own API Key and every user account belongs to one integrator. Certificate sharing between accounts is possible under the same integrator API Key, meaning that the enrolled bank connection certificates are shared. Under the same email address / username, both *admin* and *data* accounts must be used as they have separate passwords and differing functions.
*
* OpenAPI spec version: v2.1.0
* OpenAPI spec version: v2.2.3
* Contact: dan.forsberg@isecure.fi
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The API provides normal file based access to all common banks in Finland via WebServices channel on the service side, including certificate enrollment (PKI) with automatic renewals. Additionally, user account management, password recovery, and SMS based 2nd or Multi Factor Authentication (MFA) are provided (AWS Cognito Your User Pool). Access is secured with HTTPS/TLS (AWS API Gateway), using email address as username and password. On login, password is RSA encrypted along with dynamic parameters fetched from the service (username specific challenge response). Every integrator has own API Key and every user account belongs to one integrator. Certificate sharing between accounts is possible under the same integrator API Key, meaning that the enrolled bank connection certificates are shared. Under the same email address / username, both *admin* and *data* accounts must be used as they have separate passwords and differing functions.
*
* OpenAPI spec version: v2.1.0
* OpenAPI spec version: v2.2.3
* Contact: dan.forsberg@isecure.fi
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*
Expand Down Expand Up @@ -694,7 +694,7 @@ public static function toDebugReport()
$report = 'PHP SDK (Swagger\Client) Debug Report:' . PHP_EOL;
$report .= ' OS: ' . php_uname() . PHP_EOL;
$report .= ' PHP Version: ' . phpversion() . PHP_EOL;
$report .= ' OpenAPI Spec Version: v2.1.0' . PHP_EOL;
$report .= ' OpenAPI Spec Version: v2.2.3' . PHP_EOL;
$report .= ' SDK Package Version: 0.1.0' . PHP_EOL;
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* The API provides normal file based access to all common banks in Finland via WebServices channel on the service side, including certificate enrollment (PKI) with automatic renewals. Additionally, user account management, password recovery, and SMS based 2nd or Multi Factor Authentication (MFA) are provided (AWS Cognito Your User Pool). Access is secured with HTTPS/TLS (AWS API Gateway), using email address as username and password. On login, password is RSA encrypted along with dynamic parameters fetched from the service (username specific challenge response). Every integrator has own API Key and every user account belongs to one integrator. Certificate sharing between accounts is possible under the same integrator API Key, meaning that the enrolled bank connection certificates are shared. Under the same email address / username, both *admin* and *data* accounts must be used as they have separate passwords and differing functions.
*
* OpenAPI spec version: v2.1.0
* OpenAPI spec version: v2.2.3
* Contact: dan.forsberg@isecure.fi
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* The API provides normal file based access to all common banks in Finland via WebServices channel on the service side, including certificate enrollment (PKI) with automatic renewals. Additionally, user account management, password recovery, and SMS based 2nd or Multi Factor Authentication (MFA) are provided (AWS Cognito Your User Pool). Access is secured with HTTPS/TLS (AWS API Gateway), using email address as username and password. On login, password is RSA encrypted along with dynamic parameters fetched from the service (username specific challenge response). Every integrator has own API Key and every user account belongs to one integrator. Certificate sharing between accounts is possible under the same integrator API Key, meaning that the enrolled bank connection certificates are shared. Under the same email address / username, both *admin* and *data* accounts must be used as they have separate passwords and differing functions.
*
* OpenAPI spec version: v2.1.0
* OpenAPI spec version: v2.2.3
* Contact: dan.forsberg@isecure.fi
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*
Expand Down Expand Up @@ -54,8 +54,8 @@ class CertsAndKeys implements ArrayAccess
* @var string[]
*/
protected static $swaggerTypes = [
'cert' => 'string',
'encrypted_key' => 'string'
'certificate' => 'string',
'encrypted_private_key' => 'string'
];

public static function swaggerTypes()
Expand All @@ -68,8 +68,8 @@ public static function swaggerTypes()
* @var string[]
*/
protected static $attributeMap = [
'cert' => 'Cert',
'encrypted_key' => 'EncryptedKey'
'certificate' => 'Certificate',
'encrypted_private_key' => 'EncryptedPrivateKey'
];


Expand All @@ -78,8 +78,8 @@ public static function swaggerTypes()
* @var string[]
*/
protected static $setters = [
'cert' => 'setCert',
'encrypted_key' => 'setEncryptedKey'
'certificate' => 'setCertificate',
'encrypted_private_key' => 'setEncryptedPrivateKey'
];


Expand All @@ -88,8 +88,8 @@ public static function swaggerTypes()
* @var string[]
*/
protected static $getters = [
'cert' => 'getCert',
'encrypted_key' => 'getEncryptedKey'
'certificate' => 'getCertificate',
'encrypted_private_key' => 'getEncryptedPrivateKey'
];

public static function attributeMap()
Expand Down Expand Up @@ -123,8 +123,8 @@ public static function getters()
*/
public function __construct(array $data = null)
{
$this->container['cert'] = isset($data['cert']) ? $data['cert'] : null;
$this->container['encrypted_key'] = isset($data['encrypted_key']) ? $data['encrypted_key'] : null;
$this->container['certificate'] = isset($data['certificate']) ? $data['certificate'] : null;
$this->container['encrypted_private_key'] = isset($data['encrypted_private_key']) ? $data['encrypted_private_key'] : null;
}

/**
Expand All @@ -136,8 +136,11 @@ public function listInvalidProperties()
{
$invalid_properties = [];

if ($this->container['cert'] === null) {
$invalid_properties[] = "'cert' can't be null";
if ($this->container['certificate'] === null) {
$invalid_properties[] = "'certificate' can't be null";
}
if ($this->container['encrypted_private_key'] === null) {
$invalid_properties[] = "'encrypted_private_key' can't be null";
}
return $invalid_properties;
}
Expand All @@ -151,51 +154,54 @@ public function listInvalidProperties()
public function valid()
{

if ($this->container['cert'] === null) {
if ($this->container['certificate'] === null) {
return false;
}
if ($this->container['encrypted_private_key'] === null) {
return false;
}
return true;
}


/**
* Gets cert
* Gets certificate
* @return string
*/
public function getCert()
public function getCertificate()
{
return $this->container['cert'];
return $this->container['certificate'];
}

/**
* Sets cert
* @param string $cert
* Sets certificate
* @param string $certificate
* @return $this
*/
public function setCert($cert)
public function setCertificate($certificate)
{
$this->container['cert'] = $cert;
$this->container['certificate'] = $certificate;

return $this;
}

/**
* Gets encrypted_key
* Gets encrypted_private_key
* @return string
*/
public function getEncryptedKey()
public function getEncryptedPrivateKey()
{
return $this->container['encrypted_key'];
return $this->container['encrypted_private_key'];
}

/**
* Sets encrypted_key
* @param string $encrypted_key
* Sets encrypted_private_key
* @param string $encrypted_private_key
* @return $this
*/
public function setEncryptedKey($encrypted_key)
public function setEncryptedPrivateKey($encrypted_private_key)
{
$this->container['encrypted_key'] = $encrypted_key;
$this->container['encrypted_private_key'] = $encrypted_private_key;

return $this;
}
Expand Down
Loading

0 comments on commit 24d4acb

Please sign in to comment.