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
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientEnvironmentceprotected OA2MPServiceservice
-
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.ClientEnvironmentgetCe()OA2MPServicegetService()voidsetCe(ClientEnvironment ce)
-
-
-
Field Detail
-
service
protected OA2MPService service
-
ce
protected ClientEnvironment ce
-
-
Method Detail
-
getService
public OA2MPService getService()
-
getCe
public ClientEnvironment getCe()
-
setCe
public void setCe(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.
-
-