public class OAuth2Error extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ACCESS_DENIED |
protected String |
description |
protected String |
id |
static String |
INVALID_GRANT |
static String |
INVALID_REQUEST |
static String |
INVALID_SCOPE |
static String |
SERVER_ERROR |
static String |
TEMPORARILY_UNAVAILABLE |
static String |
UNAUTHORIZED_CLIENT |
static String |
UNSUPPORTED_RESPONSE_TYPE |
Modifier | Constructor and Description |
---|---|
protected |
OAuth2Error(String id,
String description) |
Modifier and Type | Method and Description |
---|---|
static OAuth2Error |
accessDenied() |
static OAuth2Error |
accessDenied(String description) |
String |
getDescription() |
String |
getId() |
static OAuth2Error |
invalidGrant() |
static OAuth2Error |
invalidGrant(String description) |
static OAuth2Error |
invalidRequest() |
static OAuth2Error |
invalidRequest(String description) |
static OAuth2Error |
invalidScope() |
static OAuth2Error |
invalidScope(String description) |
static OAuth2Error |
serverError() |
static OAuth2Error |
serverError(String description) |
static OAuth2Error |
temporarilyUnavailable() |
static OAuth2Error |
temporarilyUnavailable(String description) |
static OAuth2Error |
unauthorizedClient() |
static OAuth2Error |
unauthorizedClient(String description) |
static OAuth2Error |
unsupportedResponseType() |
static OAuth2Error |
unsupportedResponseType(String description) |
public static final String INVALID_REQUEST
public static final String INVALID_GRANT
public static final String UNAUTHORIZED_CLIENT
public static final String ACCESS_DENIED
public static final String UNSUPPORTED_RESPONSE_TYPE
public static final String INVALID_SCOPE
public static final String SERVER_ERROR
public static final String TEMPORARILY_UNAVAILABLE
protected final String description
protected OAuth2Error(String id, String description)
public String getDescription()
public static OAuth2Error invalidRequest(String description)
public static OAuth2Error invalidRequest()
public static OAuth2Error invalidGrant(String description)
public static OAuth2Error invalidGrant()
public static OAuth2Error unauthorizedClient(String description)
public static OAuth2Error unauthorizedClient()
public static OAuth2Error accessDenied(String description)
public static OAuth2Error accessDenied()
public static OAuth2Error unsupportedResponseType(String description)
public static OAuth2Error unsupportedResponseType()
public static OAuth2Error invalidScope(String description)
public static OAuth2Error invalidScope()
public static OAuth2Error serverError(String description)
public static OAuth2Error serverError()
public static OAuth2Error temporarilyUnavailable(String description)
public static OAuth2Error temporarilyUnavailable()
Copyright © 2017 Nuxeo. All rights reserved.