Package io.jans.as.client
Class DeviceAuthzRequest
- java.lang.Object
-
- io.jans.as.client.BaseRequest
-
- io.jans.as.client.ClientAuthnRequest
-
- io.jans.as.client.DeviceAuthzRequest
-
public class DeviceAuthzRequest extends ClientAuthnRequest
Represents a device authorization request to send to the authorization server.- Version:
- April 25, 2022
-
-
Constructor Summary
Constructors Constructor Description DeviceAuthzRequest(String clientId, List<String> scopes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getClientId()
Map<String,String>
getParameters()
Returns a collection of parameters of the authorization request.String
getQueryString()
List<String>
getScopes()
String
getScopesAsString()
void
setClientId(String clientId)
void
setScopes(List<String> scopes)
-
Methods inherited from class io.jans.as.client.ClientAuthnRequest
appendClientAuthnToQuery, getAlgorithm, getAudience, getClientAssertion, getCryptoProvider, getFallbackAlgorithm, getKeyId, getSharedKey, setAlgorithm, setAudience, setCryptoProvider, setKeyId, setSharedKey
-
Methods inherited from class io.jans.as.client.BaseRequest
addCustomParameter, getAuthenticationMethod, getAuthorizationMethod, getAuthPassword, getAuthUsername, getContentType, getCredentials, getCustomParameters, getEncodedCredentials, getEncodedCredentials, getJSONParameters, getMediaType, hasCredentials, setAuthenticationMethod, setAuthorizationMethod, setAuthPassword, setAuthUsername, setContentType, setMediaType
-
-
-
-
Method Detail
-
getClientId
public String getClientId()
-
setClientId
public void setClientId(String clientId)
-
getScopesAsString
public String getScopesAsString()
-
getParameters
public Map<String,String> getParameters()
Returns a collection of parameters of the authorization request. Anynull
or empty parameter will be omitted.- Overrides:
getParameters
in classBaseRequest
- Returns:
- A collection of parameters.
-
getQueryString
public String getQueryString()
- Specified by:
getQueryString
in classBaseRequest
-
-