def __init__(self, request_data, old_settings=None, custom_base_path=None):
self.__request_data = request_data<EOL>self.__settings = OneLogin_Saml2_Settings(old_settings, custom_base_path)<EOL>self.__attributes = []<EOL>self.__nameid = None<EOL>self.__nameid_format = None<EOL>self.__session_index = None<EOL>self.__session_expiration = None<EOL>self.__authenticated = False<EOL>self.__errors = []<EOL>self.__error_reason = None<EOL>self.__last_request_id = None<EOL>self.__last_message_id = None<EOL>self.__last_assertion_id = None<EOL>self.__last_assertion_not_on_or_after = None<EOL>self.__last_authn_contexts = []<EOL>self.__last_request = None<EOL>self.__last_response = None<EOL>
Initializes the SP SAML instance.

:param request_data: Request Data
:type request_data: dict

:param old_settings: Optional. SAML Toolkit Settings
:type old_settings: dict

:param custom_base_path: Optional. Path where are stored the settings file and the cert folder
:type custom_base_path: string