com.ibm.oauth.core.api.error.oauth20

Class OAuth20PublicClientCredentialsException

  • All Implemented Interfaces:
    java.io.Serializable


    public class OAuth20PublicClientCredentialsException
    extends OAuth20Exception
    Represents an access denied exception for public client when trying to use the client_credentials grant type.
    See Also:
    Serialized Form
    • Constructor Detail

      • OAuth20PublicClientCredentialsException

        public OAuth20PublicClientCredentialsException(java.lang.String clientId)
        Create OAuth20PublicClientCredentialsException.
        Parameters:
        clientId -
      • OAuth20PublicClientCredentialsException

        public OAuth20PublicClientCredentialsException(java.lang.String msgKey,
                                               java.lang.String clientId)
    • Method Detail

      • formatSelf

        public java.lang.String formatSelf(java.util.Locale locale,
                                  java.lang.String encoding)
        Overrides:
        formatSelf in class OAuth20Exception
      • getClientId

        public java.lang.String getClientId()
        Returns:
        client ID.