.. rst-class:: phpdoctorst
.. php:namespace:: Firstred\PostNL\Entity\SOAP
.. php:class:: UsernameToken
.. rst-class:: phpdoc-description
| Class UsernameToken\.
:Parent:
:php:class:`Firstred\\PostNL\\Entity\\AbstractEntity`
.. php:attr:: public defaultProperties
:Type: string[][]
.. php:attr:: protected static Username
:Type: string | null
.. php:attr:: protected static Password
:Type: string | null
.. rst-class:: public
.. php:method:: public __construct( $Username=null, $Password=null)
.. rst-class:: phpdoc-description
| UsernameToken constructor\.
:Parameters:
* **$Username** (string | null)
* **$Password** (string | null) Plaintext password
.. rst-class:: public
.. php:method:: public xmlSerialize( $writer)
.. rst-class:: phpdoc-description
| Return a serializable array for the XMLWriter\.
:Parameters:
* **$writer** (:any:`Sabre\\Xml\\Writer <Sabre\\Xml\\Writer>`)
:Returns: void