Package org.forgerock.oauth
Class InvalidOAuthClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.forgerock.oauth.OAuthException
org.forgerock.oauth.InvalidOAuthClientException
- All Implemented Interfaces:
Serializable
Client authentication failed (e.g., unknown client, no client
authentication included, or unsupported authentication method). The
authorization server MAY return an HTTP 401 (Unauthorized) status code to
indicate which HTTP authentication schemes are supported. If the client
attempted to authenticate via the "Authorization" request header field,
the authorization server MUST respond with an HTTP 401 (Unauthorized)
status code and include the "WWW-Authenticate" response header field
matching the authentication scheme used by the client.
-
Constructor Summary
ConstructorDescriptionInvalidOAuthClientException
(String message) Builds an InvalidClientException with a given message.InvalidOAuthClientException
(String message, Exception cause) Builds an InvalidClientException with a given message and cause. -
Method Summary
Methods inherited from class org.forgerock.oauth.OAuthException
asPromise
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidOAuthClientException
Builds an InvalidClientException with a given message.- Parameters:
message
- exception message
-
InvalidOAuthClientException
Builds an InvalidClientException with a given message and cause.- Parameters:
message
- Exception's messagecause
- Exception to wrap
-