Class OAuth20MismatchedClientAuthenticationException

All Implemented Interfaces:
Serializable

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

    • OAuth20MismatchedClientAuthenticationException

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

      public OAuth20MismatchedClientAuthenticationException(String msgKey, String clientId, String authenticatedClient)
  • Method Details

    • formatSelf

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

      public String getClientId()
      Returns:
      client ID.
    • getAuthenticatedClient

      public String getAuthenticatedClient()
      Returns:
      the authenticated client.