com.vmware.oauth2.errors
package provides the OAuth 2.0 exceptions
that can be included in the list of exceptions in the specification of OAuth 2.0
methods to indicate that the method might report those exceptions.See: Description
Class | Description |
---|---|
Error.Type |
Enumeration of OAuth 2.0 exceptions.
|
ErrorsFactory |
ErrorsFactory is responsible for creating instances of services
contained inside the com.vmware.oauth2.errors package and also has the subpackages reference
to access respective subpackage services. |
InvalidGrant.Builder |
Builder class for
InvalidGrant . |
InvalidRequest.Builder |
Builder class for
InvalidRequest . |
InvalidScope.Builder |
Builder class for
InvalidScope . |
StructDefinitions |
Defines the type descriptors for the top-level types in
com.vmware.oauth2.errors package. |
Enum | Description |
---|---|
Error.Type.Values |
Native Java
enum representing this enumeration class. |
Exception | Description |
---|---|
Error |
The OAuth2
Error describes the properties common to standard OAuth 2.0
exceptions. |
InvalidGrant |
Indicates that the provided authorization grant (e.g., authorization code,
resource owner credentials) or refresh token is invalid, expired, revoked, does
not match the redirection URI used in the authorization request, or was issued
to another client.
|
InvalidRequest |
Indicates that the request is missing a required parameter, includes an
unsupported parameter value (other than grant type), repeats a parameter,
includes multiple credentials, utilizes more than one mechanism for
authenticating the client, or is otherwise malformed
|
InvalidScope |
Indicates that the requested scope is invalid, unknown, malformed, or exceeds
the scope granted by the resource owner.
|
com.vmware.oauth2.errors
package provides the OAuth 2.0 exceptions
that can be included in the list of exceptions in the specification of OAuth 2.0
methods to indicate that the method might report those exceptions.