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 ClientEnvironment
ce
protected OA2MPService
service
-
Constructor Summary
Constructors Constructor Description ProxyClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URI
createRedirect()
Create the URI to start a standard flow from the client configuration.void
deviceFlow()
Starts a device code flow from the configuration.ClientEnvironment
getCe()
OA2MPService
getService()
void
setCe(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.
-
-