Package | Description |
---|---|
com.nimbusds.oauth2.sdk.token |
OAuth 2.0 access and refresh token implementations.
|
com.nimbusds.openid.connect.sdk |
Classes for representing, serialising and parsing OpenID Connect client
requests and server responses.
|
Modifier and Type | Field | Description |
---|---|---|
static BearerTokenError |
BearerTokenError.INSUFFICIENT_SCOPE |
The request requires higher privileges than provided by the access
token.
|
static BearerTokenError |
BearerTokenError.INVALID_REQUEST |
The request is missing a required parameter, includes an unsupported
parameter or parameter value, repeats the same parameter, uses more
than one method for including an access token, or is otherwise
malformed.
|
static BearerTokenError |
BearerTokenError.INVALID_TOKEN |
The access token provided is expired, revoked, malformed, or invalid
for other reasons.
|
static BearerTokenError |
BearerTokenError.MISSING_TOKEN |
The request does not contain an access token.
|
Modifier and Type | Method | Description |
---|---|---|
BearerTokenError |
BearerTokenError.appendDescription(String text) |
|
static BearerTokenError |
BearerTokenError.parse(String wwwAuth) |
Parses an OAuth 2.0 bearer token error from the specified HTTP
response
WWW-Authenticate header. |
BearerTokenError |
BearerTokenError.setDescription(String description) |
|
BearerTokenError |
BearerTokenError.setHTTPStatusCode(int httpStatusCode) |
|
BearerTokenError |
BearerTokenError.setRealm(String realm) |
Sets the realm.
|
BearerTokenError |
BearerTokenError.setScope(Scope scope) |
Sets the required scope.
|
BearerTokenError |
BearerTokenError.setURI(URI uri) |
Modifier and Type | Method | Description |
---|---|---|
static Set<BearerTokenError> |
UserInfoErrorResponse.getStandardErrors() |
Gets the standard errors for a UserInfo error response.
|
Constructor | Description |
---|---|
UserInfoErrorResponse(BearerTokenError error) |
Creates a new UserInfo error response indicating a bearer token
error.
|
Copyright © 2018 Connect2id Ltd.. All rights reserved.