Package com.hcl.labs.domi.providers
Class OnlineMeetingProviderParameterBuilder
- java.lang.Object
-
- com.hcl.labs.domi.providers.OnlineMeetingProviderParameterBuilder
-
public class OnlineMeetingProviderParameterBuilder extends Object
- Author:
- Paul Withers Builder to create online meeting provider parameters
-
-
Constructor Summary
Constructors Constructor Description OnlineMeetingProviderParameterBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OnlineMeetingProviderParameterBuilder
authUrl(String authUrl)
OnlineMeetingProviderParameters
build()
Validate, build and return parameters for an online meeting providerOnlineMeetingProviderParameterBuilder
callbackRoute(String callbackRoute)
OnlineMeetingProviderParameterBuilder
extraParams(io.vertx.core.json.JsonObject extraParams)
OnlineMeetingProviderParameterBuilder
path(String path)
OnlineMeetingProviderParameterBuilder
refreshRoute(String refreshRoute)
OnlineMeetingProviderParameterBuilder
revocationUrl(String revocationUrl)
OnlineMeetingProviderParameterBuilder
revokeRoute(String revokeRoute)
OnlineMeetingProviderParameterBuilder
router(io.vertx.ext.web.Router router)
OnlineMeetingProviderParameterBuilder
scopes(String scopes)
OnlineMeetingProviderParameterBuilder
tokenUrl(String tokenUrl)
OnlineMeetingProviderParameterBuilder
vertx(io.vertx.core.Vertx vertx)
-
-
-
Method Detail
-
build
public OnlineMeetingProviderParameters build() throws DOMIException
Validate, build and return parameters for an online meeting provider- Returns:
- OnlineMeetingProviderParameters
- Throws:
DOMIException
- which would typically be missing parameters
-
vertx
public OnlineMeetingProviderParameterBuilder vertx(io.vertx.core.Vertx vertx)
- Parameters:
vertx
- instance- Returns:
- fluent
-
router
public OnlineMeetingProviderParameterBuilder router(io.vertx.ext.web.Router router)
- Parameters:
router
- for the server- Returns:
- fluent
-
authUrl
public OnlineMeetingProviderParameterBuilder authUrl(String authUrl)
- Parameters:
authUrl
- on the provider to do OAuth dance to retrieve short-lived code- Returns:
- fluent
-
tokenUrl
public OnlineMeetingProviderParameterBuilder tokenUrl(String tokenUrl)
- Parameters:
tokenUrl
- on the provider to exchange short-lived code for tokens- Returns:
- fluent
-
revocationUrl
public OnlineMeetingProviderParameterBuilder revocationUrl(String revocationUrl)
- Parameters:
revocationUrl
- on the provider for revoking tokens- Returns:
- fluent
-
callbackRoute
public OnlineMeetingProviderParameterBuilder callbackRoute(String callbackRoute)
- Parameters:
callbackRoute
- endpoint on this server for OAuth dance to redirect to with short-lived code- Returns:
- fluent
-
refreshRoute
public OnlineMeetingProviderParameterBuilder refreshRoute(String refreshRoute)
- Parameters:
refreshRoute
- endpoint on this server for refreshing tokens- Returns:
- fluent
-
revokeRoute
public OnlineMeetingProviderParameterBuilder revokeRoute(String revokeRoute)
- Parameters:
revokeRoute
- endpoint on this server for revoking tokens- Returns:
- fluent
-
scopes
public OnlineMeetingProviderParameterBuilder scopes(String scopes)
- Parameters:
scopes
- to apply for OAuth access- Returns:
- fluent
-
path
public OnlineMeetingProviderParameterBuilder path(String path)
- Parameters:
path
- on this server to apply OAuth restrictions to- Returns:
- fluent
-
extraParams
public OnlineMeetingProviderParameterBuilder extraParams(io.vertx.core.json.JsonObject extraParams)
- Parameters:
extraParams
- to add to body of HttpRequest for token- Returns:
- fluent
-
-