Class ProxyClient
- java.lang.Object
-
- org.oa4mp.server.loader.oauth2.proxy.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
-
-
Constructor Summary
Constructors Constructor Description ProxyClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URIcreateRedirect()Create the URI to start a standard flow from the client configuration.voiddeviceFlow()Starts a device code flow from the configuration.org.oa4mp.client.api.ClientEnvironmentgetCe()org.oa4mp.client.loader.OA2MPServicegetService()voidsetCe(org.oa4mp.client.api.ClientEnvironment ce)
-
-
-
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.
-
-