10Duke Java Core
Loading...
Searching...
No Matches
tenduke.sdk.core.model.auth.DeviceAuthResponse Class Reference

Detailed Description

Data class that models an OAuth device flow response.

The response is given by the Identity Provider (authorization server) when the client application send a request to the device authorization endpoint.

Response examples for success case:


{
"user_code": "RLDW-DSJC",
"device_code": "loo9h1jm2kdka74f9qppifhdtji5hthmsm4m5n6isd6usl13anes",
"verification_uri_complete": "https://example-idp.10duke.net/user/device?userCode=RLDW-DSJC",
"verification_uri": "https://example-idp.10duke.net/user/device",
"expires_in": 299
}

<p<blockquote>‍ Response examples for failure case, missing client secret: HTTP 403:


{
"error": "missing_client_secret",
"error_description": "Missing client secret"
}

The documentation for this class was generated from the following file: