Class DeviceAuthzRequest


  • public class DeviceAuthzRequest
    extends ClientAuthnRequest
    Represents a device authorization request to send to the authorization server.
    • Constructor Detail

      • DeviceAuthzRequest

        public DeviceAuthzRequest​(java.lang.String clientId,
                                  java.util.List<java.lang.String> scopes)
    • Method Detail

      • getClientId

        public java.lang.String getClientId()
      • setClientId

        public void setClientId​(java.lang.String clientId)
      • getScopes

        public java.util.List<java.lang.String> getScopes()
      • setScopes

        public void setScopes​(java.util.List<java.lang.String> scopes)
      • getScopesAsString

        public java.lang.String getScopesAsString()
      • getParameters

        public java.util.Map<java.lang.String,​java.lang.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.