Class OAuth20MismatchedClientAuthenticationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class OAuth20MismatchedClientAuthenticationException
    extends OAuth20Exception
    Represents a mismatch exception that the client ID does not match the authenticated client.
    See Also:
    Serialized Form
    • Constructor Detail

      • OAuth20MismatchedClientAuthenticationException

        public OAuth20MismatchedClientAuthenticationException​(java.lang.String clientId,
                                                              java.lang.String authenticatedClient)
        Create OAuth20MismatchedClientAuthenticationException
        Parameters:
        clientId - from request
        authenticatedClient - representing the authenticated client from caller.
      • OAuth20MismatchedClientAuthenticationException

        public OAuth20MismatchedClientAuthenticationException​(java.lang.String msgKey,
                                                              java.lang.String clientId,
                                                              java.lang.String authenticatedClient)
    • 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.
      • getAuthenticatedClient

        public java.lang.String getAuthenticatedClient()
        Returns:
        the authenticated client.