Package org.nuxeo.ecm.platform.oauth2
Class OAuth2Error
java.lang.Object
org.nuxeo.ecm.platform.oauth2.OAuth2Error
- Since:
- 9.2
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
protected final String
protected final String
static final String
static final String
static final String
static final String
static final String
protected final int
static final String
static final String
static final String
static final String
-
Constructor Summary
ModifierConstructorDescriptionprotected
OAuth2Error
(String id, String description) protected
OAuth2Error
(String id, String description, int statusCode) -
Method Summary
Modifier and TypeMethodDescriptionstatic OAuth2Error
static OAuth2Error
accessDenied
(String description) static OAuth2Error
getId()
int
static OAuth2Error
static OAuth2Error
invalidClient
(String description) static OAuth2Error
static OAuth2Error
invalidGrant
(String description) static OAuth2Error
static OAuth2Error
invalidRequest
(String description) static OAuth2Error
invalidRequest
(String description, int statusCode) static OAuth2Error
static OAuth2Error
invalidScope
(String description) static OAuth2Error
static OAuth2Error
serverError
(String description) static OAuth2Error
static OAuth2Error
temporarilyUnavailable
(String description) toString()
static OAuth2Error
static OAuth2Error
unauthorizedClient
(String description) static OAuth2Error
static OAuth2Error
unsupportedGrantType
(String description) static OAuth2Error
static OAuth2Error
unsupportedResponseType
(String description)
-
Field Details
-
INVALID_REQUEST
- See Also:
-
UNAUTHORIZED_CLIENT
- See Also:
-
ACCESS_DENIED
- See Also:
-
UNSUPPORTED_RESPONSE_TYPE
- See Also:
-
INVALID_SCOPE
- See Also:
-
SERVER_ERROR
- See Also:
-
TEMPORARILY_UNAVAILABLE
- See Also:
-
INVALID_CLIENT
- See Also:
-
INVALID_GRANT
- See Also:
-
UNSUPPORTED_GRANT_TYPE
- See Also:
-
id
-
description
-
statusCode
protected final int statusCode
-
-
Constructor Details
-
OAuth2Error
-
OAuth2Error
-
-
Method Details
-
getId
-
getDescription
-
getStatusCode
public int getStatusCode()- Since:
- 2021.23
-
invalidRequest
- Since:
- 2021.23
-
invalidRequest
-
invalidRequest
-
unauthorizedClient
-
unauthorizedClient
-
accessDenied
-
accessDenied
-
unsupportedResponseType
-
unsupportedResponseType
-
invalidScope
-
invalidScope
-
serverError
-
serverError
-
invalidClient
-
invalidClient
-
invalidGrant
-
invalidGrant
-
unsupportedGrantType
-
unsupportedGrantType
-
from
- Since:
- 2021.23
-
toString
-