@Immutable
public class DeviceCodeTokenErrorResponse
extends com.nimbusds.oauth2.sdk.TokenErrorResponse
Constructor and Description |
---|
DeviceCodeTokenErrorResponse(com.nimbusds.oauth2.sdk.ErrorObject error)
Creates a new device code token error response.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isDeviceCodeError()
Checks if is a device code error.
|
static DeviceCodeTokenErrorResponse |
parse(com.nimbusds.oauth2.sdk.http.HTTPResponse httpResponse)
Parses an device code Token Error response from the specified HTTP
response.
|
getErrorObject, getStandardErrors, indicatesSuccess, parse, toHTTPResponse, toJSONObject
public DeviceCodeTokenErrorResponse(com.nimbusds.oauth2.sdk.ErrorObject error)
error
- The error.public boolean isDeviceCodeError()
public static DeviceCodeTokenErrorResponse parse(com.nimbusds.oauth2.sdk.http.HTTPResponse httpResponse)
httpResponse
- The HTTP response to parse.Copyright © 2013–2021. All rights reserved.