Class IamRequestBasedAuthenticator

    • Constructor Detail

      • IamRequestBasedAuthenticator

        public IamRequestBasedAuthenticator()
    • Method Detail

      • getURL

        public java.lang.String getURL()
        Returns:
        the URL configured on this Authenticator.
      • setURL

        public void setURL​(java.lang.String url)
        Sets the URL on this Authenticator.
        Parameters:
        url - the URL representing the IAM token server endpoint
      • getClientId

        public java.lang.String getClientId()
        Returns:
        the clientId configured on this Authenticator.
      • getClientSecret

        public java.lang.String getClientSecret()
        Returns:
        the clientSecret configured on this Authenticator.
      • setClientIdAndSecret

        public void setClientIdAndSecret​(java.lang.String clientId,
                                         java.lang.String clientSecret)
        Sets the clientId and clientSecret on this Authenticator.
        Parameters:
        clientId - the clientId to use in interactions with the token server
        clientSecret - the clientSecret to use in interactions with the token server
      • getScope

        public java.lang.String getScope()
        Returns:
        the scope parameter
      • setScope

        public void setScope​(java.lang.String value)
        Sets the "scope" parameter to use when fetching the bearer token from the IAM token server.
        Parameters:
        value - a space seperated string that makes up the scope parameter.