Package com.hcl.labs.domi.tools
Enum DOMIProvider
- java.lang.Object
-
- java.lang.Enum<DOMIProvider>
-
- com.hcl.labs.domi.tools.DOMIProvider
-
- All Implemented Interfaces:
Serializable
,Comparable<DOMIProvider>
public enum DOMIProvider extends Enum<DOMIProvider>
- Author:
- Devin Olson, Paul Withers Enum for all meeting providers supported
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GTM
Goto Meeting (label, authorizeURL, callbackRoute, scopes, path, tokenURL, refreshRoute, client_id_envVar_label, client_secret_envVar_label)TEAMS
Microsoft Teams (label, authorizeURL, callbackRoute, scopes, path, tokenURL, refreshRoute, client_id_envVar_label, client_secret_envVar_label)WEBEX
Webex (label, authorizeURL, callbackRoute, scopes, path, tokenURL, refreshRoute, client_id_envVar_label, client_secret_envVar_label)ZOOM
Zoom (label, authorizeURL, callbackRoute, scopes, path, tokenURL, refreshRoute, client_id_envVar_label, client_secret_envVar_label, revokeRoute, revocationURL)
-
Field Summary
Fields Modifier and Type Field Description String
AUTHORIZE_URL
Authorize URL for the ProviderString
CALLBACK_ROUTE
Callback Route for the ProviderString
CLIENT_ID_ENV
Environment variable name for the client IDString
CLIENT_SECRET_ENV
Environment variable name for the client secretString
LABEL
Label for the ProviderString
PATH
Path for the ProviderString
REFRESH_ROUTE
Refresh Route for the ProviderString
REVOCATION_URL
Revocation URL for the ProviderString
REVOKE_ROUTE
Revoke Route for the ProviderString
SCOPES
Requested Scopes for the ProviderString
TOKEN_URL
Token URL for the Provider
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.vertx.core.json.JsonArray
getClientIDEnvs()
Gets the client ID environment variable names for each DOMIProviderstatic io.vertx.core.json.JsonArray
getClientSecretEnvs()
Gets the client secret environment variable names for each DOMIProviderstatic List<String>
getPaths()
Gets the path for each DOMIProvider.static DOMIProvider
valueOf(String name)
Returns the enum constant of this type with the specified name.static DOMIProvider[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GTM
public static final DOMIProvider GTM
Goto Meeting (label, authorizeURL, callbackRoute, scopes, path, tokenURL, refreshRoute, client_id_envVar_label, client_secret_envVar_label)
-
TEAMS
public static final DOMIProvider TEAMS
Microsoft Teams (label, authorizeURL, callbackRoute, scopes, path, tokenURL, refreshRoute, client_id_envVar_label, client_secret_envVar_label)
-
WEBEX
public static final DOMIProvider WEBEX
Webex (label, authorizeURL, callbackRoute, scopes, path, tokenURL, refreshRoute, client_id_envVar_label, client_secret_envVar_label)
-
ZOOM
public static final DOMIProvider ZOOM
Zoom (label, authorizeURL, callbackRoute, scopes, path, tokenURL, refreshRoute, client_id_envVar_label, client_secret_envVar_label, revokeRoute, revocationURL)
-
-
Field Detail
-
LABEL
public final String LABEL
Label for the Provider
-
AUTHORIZE_URL
public final String AUTHORIZE_URL
Authorize URL for the Provider
-
CALLBACK_ROUTE
public final String CALLBACK_ROUTE
Callback Route for the Provider
-
SCOPES
public final String SCOPES
Requested Scopes for the Provider
-
PATH
public final String PATH
Path for the Provider
-
TOKEN_URL
public final String TOKEN_URL
Token URL for the Provider
-
CLIENT_ID_ENV
public final String CLIENT_ID_ENV
Environment variable name for the client ID
-
CLIENT_SECRET_ENV
public final String CLIENT_SECRET_ENV
Environment variable name for the client secret
-
REFRESH_ROUTE
public final String REFRESH_ROUTE
Refresh Route for the Provider
-
REVOKE_ROUTE
public final String REVOKE_ROUTE
Revoke Route for the Provider
-
REVOCATION_URL
public final String REVOCATION_URL
Revocation URL for the Provider
-
-
Method Detail
-
values
public static DOMIProvider[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DOMIProvider c : DOMIProvider.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DOMIProvider valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getPaths
public static final List<String> getPaths()
Gets the path for each DOMIProvider.- Returns:
- Paths for the DOMIProviders
-
getClientIDEnvs
public static final io.vertx.core.json.JsonArray getClientIDEnvs()
Gets the client ID environment variable names for each DOMIProvider- Returns:
- Client ID environment variable names for the DOMIProviders
-
getClientSecretEnvs
public static final io.vertx.core.json.JsonArray getClientSecretEnvs()
Gets the client secret environment variable names for each DOMIProvider- Returns:
- Client secret environment variable names for the DOMIProviders
-
-