Class IAMClientCredentials

  • All Implemented Interfaces:
    Serializable

    public class IAMClientCredentials
    extends Object
    implements Serializable
    The Class IAMClientCredentials.
    Author:
    Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it Sep 23, 2021
    See Also:
    Serialized Form
    • Constructor Detail

      • IAMClientCredentials

        public IAMClientCredentials()
        Instantiates a new IAM client credentials.
      • IAMClientCredentials

        public IAMClientCredentials​(String clientId,
                                    String clientSecret)
        Instantiates a new IAM client credentials.
        Parameters:
        clientId - the client id
        clientSecret - the client secret
    • Method Detail

      • getClientId

        public String getClientId()
        Gets the client id.
        Returns:
        the client id
      • getClientSecret

        public String getClientSecret()
        Gets the client secret.
        Returns:
        the client secret
      • setClientId

        public void setClientId​(String clientId)
        Sets the client id.
        Parameters:
        clientId - the new client id
      • setClientSecret

        public void setClientSecret​(String clientSecret)
        Sets the client secret.
        Parameters:
        clientSecret - the new client secret
      • toString

        public String toString()
        To string.
        Overrides:
        toString in class Object
        Returns:
        the string