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 StringgetClientId()Map<String,String>getParameters()Returns a collection of parameters of the authorization request.StringgetQueryString()List<String>getScopes()StringgetScopesAsString()voidsetClientId(String clientId)voidsetScopes(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. Anynullor empty parameter will be omitted.- Overrides:
getParametersin classBaseRequest- Returns:
- A collection of parameters.
-
getQueryString
public String getQueryString()
- Specified by:
getQueryStringin classBaseRequest
-
-