Class OAuth20MismatchedClientAuthenticationException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- com.ibm.oauth.core.api.error.OAuthException
- 
- com.ibm.oauth.core.api.error.oauth20.OAuth20Exception
- 
- com.ibm.oauth.core.api.error.oauth20.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
 
- 
- 
Field Summary- 
Fields inherited from class com.ibm.oauth.core.api.error.oauth20.OAuth20ExceptionACCESS_DENIED, INSUFFICIENT_SCOPE, INVALID_CLIENT, INVALID_GRANT, INVALID_REQUEST, INVALID_SCOPE, INVALID_TOKEN, SERVER_ERROR, TEMPORARILY_UNAVAILABLE, UNAUTHORIZED_CLIENT, UNSUPPORED_GRANT_TPE, UNSUPPORTED_RESPONSE_TPE
 
- 
 - 
Constructor SummaryConstructors Constructor Description OAuth20MismatchedClientAuthenticationException(java.lang.String clientId, java.lang.String authenticatedClient)Create OAuth20MismatchedClientAuthenticationExceptionOAuth20MismatchedClientAuthenticationException(java.lang.String msgKey, java.lang.String clientId, java.lang.String authenticatedClient)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringformatSelf(java.util.Locale locale, java.lang.String encoding)java.lang.StringgetAuthenticatedClient()java.lang.StringgetClientId()- 
Methods inherited from class com.ibm.oauth.core.api.error.oauth20.OAuth20ExceptiongetError
 
- 
 
- 
- 
- 
Constructor Detail- 
OAuth20MismatchedClientAuthenticationExceptionpublic OAuth20MismatchedClientAuthenticationException(java.lang.String clientId, java.lang.String authenticatedClient)Create OAuth20MismatchedClientAuthenticationException- Parameters:
- clientId- from request
- authenticatedClient- representing the authenticated client from caller.
 
 - 
OAuth20MismatchedClientAuthenticationExceptionpublic OAuth20MismatchedClientAuthenticationException(java.lang.String msgKey, java.lang.String clientId, java.lang.String authenticatedClient)
 
- 
 - 
Method Detail- 
formatSelfpublic java.lang.String formatSelf(java.util.Locale locale, java.lang.String encoding)- Overrides:
- formatSelfin class- OAuth20Exception
 
 - 
getClientIdpublic java.lang.String getClientId() - Returns:
- client ID.
 
 - 
getAuthenticatedClientpublic java.lang.String getAuthenticatedClient() - Returns:
- the authenticated client.
 
 
- 
 
-