The following two chapters list all notable in-code changes of the XignSys SDK between version 4.3.X and 5.0.0.
Project:
shared - Contains shared code for all modules of the XignSys SDK.push - Contains the Firebase push implementation of the XignSys SDK.SDK:
shared. The package directive has not been
changed, so imports do not need to be adapted.
XignSdkExceptionXignSdkErrorCodesXignSdkErrorCodesInternalXignSdkHttpErrorForDebugOnlyForFutureUseAuthenticator 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:)DEVICE_LOCKED to the following error code mappers:
FetchPushAuthenticationInitializationDataErrorCodesUpdatePushTokenErrorCodesUNEXPECTED_ERROR instead of
a CONNECTION_ERROR.XignSdkHttpException will be thrown instead
of a general XignSdkException to be consistent with all connection errors. The HTTP status code will in this
case be set to XignSdkHttpException.HTTP_STATUS_CODE_UNSPECIFIED.XignSdk.PROTOCOL_VERSION from String to ComparableVersion.MobileRedirectHelper.isAppLink(intent:) - Can be used to check whether an Intent
contains an App-Link.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.XignSdkHttpExceptionXignSdkSecurityInsufficientExceptionSecurityInsufficientInformationSecurityInsufficientInformation.ErrorPendingLockoutInformationLockoutAttemptInformationForDebugOnly, ForFutureUse and ForXignSysSdkModulesUsageOnly are now marked
with RequiresOptIn. Therefore, all elements marked by these annotations require an explicit OptIn before
usage. This has been done to help developers to easier differentiate between regular and experimental XignSys SDK
API calls.KeycloakServiceConfiguration(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:)UserClaimsAuthorizationCodeResult.ContinuableGenderValidator.ErrorCode.INVALIDXignSdkConfig.with(app:closure:)XignSdkConfig.getDefault(context:)XignSdkConfig.Builder(context:)XignSdkConfig.Builder.addKeyMaterial(serverCert:appKeystore:appKeystorePassphrase:hostnames:)XignSdkConfig.Builder.setDefaultKeyMaterial(serverCert:appKeystore:appKeystorePassphrase:)XignSdkConfig.Builder.addServiceConfiguration(resourceID:)XignSdkConfig.Builder.addServiceConfiguration(inputStream:)MobileRedirectHelper.parseData(intent:scheme:functionOverloadFiller1:functionOverloadFiller2:)MobileRedirectHelper.MobileRedirectResponseXignSdk.KEY_MATERIAL_ALIAS_XIGNSYS_DEVELOPMENTXignSdk.KEY_MATERIAL_ALIAS_XIGNSYS_PRODUCTIONXignSdk.initialize(application:config:)XignSdk.deinitialize(application:wipePersistentData:)XignSdk.reset(application:wipePersistentData:)XignSdk.isLoggingEnabledRole.attributesDroidSecurityHelperDemo:
google-services.json.XignFirebaseMessagingService for receiving push messages.