The following two chapters list all notable in-code changes of the XignSys SDK between version 4.3.X and 5.0.0.
Project:
XignSysSdkShared - Contains shared code for all modules of the XignSys SDK.XignSysSdkPush - Contains the Firebase push implementation of the XignSys SDK.SPM:
swift-tools-version from "5.6" to "5.7".SDK:
XignSysSdkShared. The feature @_exported was
used by imports with the module XignSysSdk. This should resolve the new module dependency by only
importing XignSysSdk, if it does not work an import on XignSysSdkShared is necessary for the usage of moved
objects.
BaseErrorReportableErrorXignSdkErrorXignSdkErrorCodesXignSdkErrorCodesInternalXignSdkHttpErrorBaseErrorXignLogCwlDemangle.swiftAuthenticator which can be used to fetch the AuthenticationInitializationData of
a XignPushMessageAuthentication:
fetchPushAuthenticationInitializationData(:requestCode:)fetchPushAuthenticationInitializationDataSynchronous(:)Personalizer which can be used to update the firebase push token of a personalized
activation:
updatePushToken(idmIdentifier:pushToken:requestCode:)updatePushTokenSynchronous(idmIdentifier:pushToken:)unexpectedError instead of
a connectionError.XignSdkHttpError will be thrown instead of
a general XignSdkError to be consistent with all connection errors. The HTTP status code will in this case
be set to XignSdkHttpError.httpStatusCodeUnspecified.XignSdk.protocolVersion from String to ComparableVersion.MobileRedirectHelper.isAppLink(url:) - Can be used to check whether a URL
is an App-Link or not.Authenticator.prepareAuthenticationUserInformation) will no longer close the
connection automatically in case of a connection error signalized by XignSdkErrorCodes.connectionError. This
offers the possibility to retry the failed step, if for example the internet connection was not available during
the first attempt.XignSdkConfig.Builder.setXignInManagerEndpointConfigurator(:) and
struct XignInManagerEndpointConfigurator. These can be used to change the predefined endpoint paths used by the
XignSdk to communicate with the XignIn-Manager. Normally, these paths do not need to be changed. This has
been done to prevent future unnecessary XignSys SDK updates in the event that some URLs change in higher
XignIn-Manager versions.XignSdkHttpErrorXignSdkSecurityInsufficientErrorSecurityInsufficientInformationSecurityInsufficientInformation.ErrorPendingLockoutInformationLockoutAttemptInformationKeycloakServiceConfiguration(keycloakUrl:redirectUrl:clientId:realm:scopes), replace
with KeycloakServiceConfiguration(keycloakUrl:redirectUrl:authorizationEndpointPath:clientId:realm:scopes). This
has been done, because starting with Keycloak version 18.0 the endpoint for the authorization has been
changed. Please update your KeycloakServiceConfiguration and set the authorizationEndpointPath according to
your Keycloak version.RecoveryMechanismFactory.createMechanismEmailXignInServiceConfig.secretsXignInServiceConfig.SecretsUserClaimsResultKeyMaterialLocationKeycloakServiceConfiguration.secretKeycloakServiceConfiguration.init(keycloakUrl:redirectUrl:clientId:realm:secret:scopes)PinSpecification.validate()PinSpecification.ResultCodeAuthenticator.fetchUserClaims(:requestCode:)Authenticator.fetchUserClaimsSynchronous(:)Authenticator.abort(requestCode:)Authenticator.abortSynchronous()Personalizer.abort(requestCode:)Personalizer.abortSynchronous()AbortObserver.onAbortError(requestCode:idmIdentifier:errorCode:error:)FetchInAppAuthenticationInitializationDataObserver.onFetchInAppAuthenticationInitializationDataSuccess(requestCode:data:)AuthenticationInitializationData.serviceClientIdFetchUserClaimsObserverFetchUserClaimsErrorCodesXignSdkConfig.keyMaterialXignSdkConfig.defaultKeyMaterialXignSdkConfig.Builder.addKeyMaterial(alias:location:)XignSdkConfig.Builder.addKeyMaterial(location:hostnames:)XignSdkConfig.Builder.setDefaultKeyMaterial(location:)XignSdk.getActiveKeyMaterialAlias()XignSdk.getKeyMaterialAliases()XignSdk.changeActiveKeyMaterial(alias:)XignInUserClaimsAuthorizationCodeResult.continuableAuthorizationCodeResult.ContinuableAddressTypesIdentificationTypesAuthenticatorTypesAttributeKeysGendersGenderValidator.ErrorCode.invalidFinishChangePinObserverErrorCodesStartChangePinObserverErrorCodesXignSdkConfig.Builder.addServiceConfiguration(url:)MobileRedirectHelper.defaultSchemeMobileRedirectHelper.parseData(customUrl:scheme:)MobileRedirectHelper.DataXignSdk.keyMaterialAliasXignsysProductionXignSdk.keyMaterialAliasXignsysDevelopmentXignSdk.reset(wipePersistentData:)GRDB (https://gitlab.xign.de/oss/grdb.git) from version "5.12.0" to "6.0.0".Demo:
XignSdk-Demo-FCM.plist.