azure-docs-sdk-java/docs-ref-autogen/com.microsoft.aad.adal4j.De...

57 строки
2.9 KiB
YAML

### YamlMime:JavaType
constructors:
- fullName: com.microsoft.aad.adal4j.DeviceCodeTokenErrorResponse.DeviceCodeTokenErrorResponse(final ErrorObject error)
name: DeviceCodeTokenErrorResponse(final ErrorObject error)
nameWithType: DeviceCodeTokenErrorResponse.DeviceCodeTokenErrorResponse(final ErrorObject error)
parameters:
- description: <p>The error. </p>
name: error
type: <xref href="final+ErrorObject?alt=final+ErrorObject&text=final+ErrorObject" data-throw-if-not-resolved="False"/>
summary: >-
<p>Creates a new device code token error response.</p>
<p></p>
syntax: public DeviceCodeTokenErrorResponse(final ErrorObject error)
uid: com.microsoft.aad.adal4j.DeviceCodeTokenErrorResponse.DeviceCodeTokenErrorResponse(final ErrorObject)
inheritances:
- <xref href="java.lang.Object" data-throw-if-not-resolved="False"/>
- <xref href="TokenErrorResponse" data-throw-if-not-resolved="False"/>
methods:
- fullName: com.microsoft.aad.adal4j.DeviceCodeTokenErrorResponse.isDeviceCodeError()
name: isDeviceCodeError()
nameWithType: DeviceCodeTokenErrorResponse.isDeviceCodeError()
returns:
description: <p>true if is one of the well known device code error code, otherwise false. </p>
type: <xref href="boolean?alt=boolean&text=boolean" data-throw-if-not-resolved="False"/>
summary: >-
<p>Checks if is a device code error.</p>
<p></p>
syntax: public boolean isDeviceCodeError()
uid: com.microsoft.aad.adal4j.DeviceCodeTokenErrorResponse.isDeviceCodeError()
- fullName: com.microsoft.aad.adal4j.DeviceCodeTokenErrorResponse.parse(final HTTPResponse httpResponse)
name: parse(final HTTPResponse httpResponse)
nameWithType: DeviceCodeTokenErrorResponse.parse(final HTTPResponse httpResponse)
parameters:
- description: <p>The HTTP response to parse.</p>
name: httpResponse
type: <xref href="final+HTTPResponse?alt=final+HTTPResponse&text=final+HTTPResponse" data-throw-if-not-resolved="False"/>
returns:
description: <p>A DeviceCodeTokenErrorResponse which may contain a device code error. </p>
type: <xref href="com.microsoft.aad.adal4j.DeviceCodeTokenErrorResponse?alt=com.microsoft.aad.adal4j.DeviceCodeTokenErrorResponse&text=DeviceCodeTokenErrorResponse" data-throw-if-not-resolved="False"/>
summary: >-
<p>Parses an device code Token Error response from the specified HTTP response.</p>
<p></p>
syntax: public static DeviceCodeTokenErrorResponse parse(final HTTPResponse httpResponse)
uid: com.microsoft.aad.adal4j.DeviceCodeTokenErrorResponse.parse(final HTTPResponse)
nameWithType: DeviceCodeTokenErrorResponse
syntax: public class DeviceCodeTokenErrorResponse
type: class
uid: com.microsoft.aad.adal4j.DeviceCodeTokenErrorResponse
fullName: com.microsoft.aad.adal4j.DeviceCodeTokenErrorResponse
name: DeviceCodeTokenErrorResponse
package: com.microsoft.aad.adal4j
summary: <p>Error object used to encapsulated the device code errors. </p>
metadata: {}