Class DeviceAuthzRequest


  • public class DeviceAuthzRequest
    extends ClientAuthnRequest
    Represents a device authorization request to send to the authorization server.
    Version:
    April 25, 2022
    • Constructor Detail

      • DeviceAuthzRequest

        public DeviceAuthzRequest​(String clientId,
                                  List<String> scopes)
    • Method Detail

      • getClientId

        public String getClientId()
      • setClientId

        public void setClientId​(String clientId)
      • setScopes

        public void setScopes​(List<String> scopes)
      • getScopesAsString

        public String getScopesAsString()
      • getParameters

        public Map<String,​String> getParameters()
        Returns a collection of parameters of the authorization request. Any null or empty parameter will be omitted.
        Overrides:
        getParameters in class BaseRequest
        Returns:
        A collection of parameters.