Class ProxyClient


  • public class ProxyClient
    extends Object
    This is used as a proxy client. This allows for an OA4MP server to replace its authorization machinery by delegating to another OAuth service.

    Created by Jeff Gaynor
    on 1/4/22 at 2:44 PM

    • Field Detail

      • service

        protected org.oa4mp.client.loader.OA2MPService service
      • ce

        protected org.oa4mp.client.api.ClientEnvironment ce
    • Constructor Detail

      • ProxyClient

        public ProxyClient()
    • Method Detail

      • getService

        public org.oa4mp.client.loader.OA2MPService getService()
      • getCe

        public org.oa4mp.client.api.ClientEnvironment getCe()
      • setCe

        public void setCe​(org.oa4mp.client.api.ClientEnvironment ce)
      • createRedirect

        public URI createRedirect()
        Create the URI to start a standard flow from the client configuration.
        Returns:
      • deviceFlow

        public void deviceFlow()
        Starts a device code flow from the configuration.