Class OAuth2AuthenticationSettingsContract


  • public final class OAuth2AuthenticationSettingsContract
    extends Object
    API OAuth2 Authentication settings details.
    • Constructor Detail

      • OAuth2AuthenticationSettingsContract

        public OAuth2AuthenticationSettingsContract()
    • Method Detail

      • authorizationServerId

        public String authorizationServerId()
        Get the authorizationServerId property: OAuth authorization server identifier.
        Returns:
        the authorizationServerId value.
      • withAuthorizationServerId

        public OAuth2AuthenticationSettingsContract withAuthorizationServerId​(String authorizationServerId)
        Set the authorizationServerId property: OAuth authorization server identifier.
        Parameters:
        authorizationServerId - the authorizationServerId value to set.
        Returns:
        the OAuth2AuthenticationSettingsContract object itself.
      • scope

        public String scope()
        Get the scope property: operations scope.
        Returns:
        the scope value.
      • withScope

        public OAuth2AuthenticationSettingsContract withScope​(String scope)
        Set the scope property: operations scope.
        Parameters:
        scope - the scope value to set.
        Returns:
        the OAuth2AuthenticationSettingsContract object itself.
      • validate

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