Class OAuth20MismatchedRedirectUriException
- 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.OAuth20MismatchedRedirectUriException
 
 
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class OAuth20MismatchedRedirectUriException extends OAuth20Exception Represents an error that occurs when the redirect URI passed in the request to the token endpoint does not match the redirect URI associated with the grant.- 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 OAuth20MismatchedRedirectUriException(java.lang.String receivedRedirectURI, java.lang.String issuedToRedirectURI)Create OAuth20MismatchedRedirectUriExceptionOAuth20MismatchedRedirectUriException(java.lang.String msgKey, java.lang.String receivedRedirectURI, java.lang.String issuedToRedirectURI)
 - 
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.StringgetIssuedToRedirectURI()java.lang.StringgetReceivedRedirectURI()- 
Methods inherited from class com.ibm.oauth.core.api.error.oauth20.OAuth20ExceptiongetError
 
- 
 
- 
- 
- 
Constructor Detail- 
OAuth20MismatchedRedirectUriExceptionpublic OAuth20MismatchedRedirectUriException(java.lang.String receivedRedirectURI, java.lang.String issuedToRedirectURI)Create OAuth20MismatchedRedirectUriException- Parameters:
- receivedRedirectURI- a redirect URI passed in the request.
- issuedToRedirectURI- a redirect URI associated with the grant.
 
 - 
OAuth20MismatchedRedirectUriExceptionpublic OAuth20MismatchedRedirectUriException(java.lang.String msgKey, java.lang.String receivedRedirectURI, java.lang.String issuedToRedirectURI)
 
- 
 - 
Method Detail- 
formatSelfpublic java.lang.String formatSelf(java.util.Locale locale, java.lang.String encoding)- Overrides:
- formatSelfin class- OAuth20Exception
 
 - 
getReceivedRedirectURIpublic java.lang.String getReceivedRedirectURI() - Returns:
- the received redirect URI in a request.
 
 - 
getIssuedToRedirectURIpublic java.lang.String getIssuedToRedirectURI() - Returns:
- the redirect URI associated with the grant.
 
 
- 
 
-