public class OAuth2Error extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ACCESS_DENIED |
protected String |
description |
protected String |
id |
static String |
INVALID_CLIENT |
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_GRANT_TYPE |
static String |
UNSUPPORTED_RESPONSE_TYPE |
Modifier | Constructor and Description |
---|---|
protected |
OAuth2Error(String id,
String description) |
public static final String INVALID_REQUEST
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
public static final String INVALID_CLIENT
public static final String INVALID_GRANT
public static final String UNSUPPORTED_GRANT_TYPE
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 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()
public static OAuth2Error invalidClient(String description)
public static OAuth2Error invalidClient()
public static OAuth2Error invalidGrant(String description)
public static OAuth2Error invalidGrant()
public static OAuth2Error unsupportedGrantType(String description)
public static OAuth2Error unsupportedGrantType()
Copyright © 2018 Nuxeo. All rights reserved.