static OAuth2Error |
OAuth2Error.bestEffortResourceServerError(Status status,
OAuth2Error incomplete) |
Returns an OAuth 2.0 resource server error whose values are determined on
a best-effort basis from the provided incomplete error and HTTP status
code.
|
static OAuth2Error |
OAuth2Error.newAuthorizationServerError(String error,
String errorDescription) |
Returns an OAuth 2.0 error suitable for inclusion in authorization
call-back responses and access token and refresh token responses.
|
static OAuth2Error |
OAuth2Error.newAuthorizationServerError(String error,
String errorDescription,
String errorUri) |
Returns an OAuth 2.0 error suitable for inclusion in authorization
call-back responses and access token and refresh token responses.
|
static OAuth2Error |
OAuth2Error.newResourceServerError(String realm,
List<String> scope,
String error,
String errorDescription,
String errorUri) |
Returns an OAuth 2.0 error suitable for inclusion in resource server
WWW-Authenticate response headers.
|
static OAuth2Error |
OAuth2Error.valueOf(String s) |
Parses the provided toString() representation as an OAuth 2.0
error.
|
static OAuth2Error |
OAuth2Error.valueOfForm(Form form) |
Parses the Form representation of an authorization call-back error as an
OAuth 2.0 error.
|
static OAuth2Error |
OAuth2Error.valueOfJsonContent(Map<String,Object> json) |
Parses the JSON representation of an access token error response as an
OAuth 2.0 error.
|
static OAuth2Error |
OAuth2Error.valueOfWWWAuthenticateHeader(String s) |
Parses the provided WWW-Authenticate header content as an OAuth 2.0
error.
|