Class AppRegistration


  • public final class AppRegistration
    extends Object
    The configuration settings of the app registration for providers that have app ids and app secrets.
    • Constructor Detail

      • AppRegistration

        public AppRegistration()
    • Method Detail

      • appId

        public String appId()
        Get the appId property: The App ID of the app used for login.
        Returns:
        the appId value.
      • withAppId

        public AppRegistration withAppId​(String appId)
        Set the appId property: The App ID of the app used for login.
        Parameters:
        appId - the appId value to set.
        Returns:
        the AppRegistration object itself.
      • appSecretSettingName

        public String appSecretSettingName()
        Get the appSecretSettingName property: The app setting name that contains the app secret.
        Returns:
        the appSecretSettingName value.
      • withAppSecretSettingName

        public AppRegistration withAppSecretSettingName​(String appSecretSettingName)
        Set the appSecretSettingName property: The app setting name that contains the app secret.
        Parameters:
        appSecretSettingName - the appSecretSettingName value to set.
        Returns:
        the AppRegistration object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.