Class CustomWrapperInputParameterOAuth20Authentication
java.lang.Object
com.denodo.vdb.engine.customwrapper.input.value.CustomWrapperInputParameterOAuth20Authentication
Defines the actual value of the OAuth 2.0 authentication returned by a
CustomWrapperInputParameter
of HTTP
route type.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
OAuth 2.0 Grant Type.static enum
Authentication method used by the authorization server.static enum
Request signing method. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the access token.Gets the expiry date of the access token.Gets the authentication grant type.Gets the authentication method of the authorization servers.Gets the client identifier.Gets the client secret.Gets the name of the query parameter.Gets the refresh token.Gets the refresh token extra parameters.Gets the request signing method.Gets the scopes.Gets the URL of the token endpoint.Gets the user identifier.Gets the user password.void
setAccessToken
(String accessToken) Sets the access token.void
setAccessTokenExpiryDate
(Calendar accessTokenExpiryDate) Sets the expiry date of the access token.void
setAuthenticationGrantType
(CustomWrapperInputParameterOAuth20Authentication.AuthenticationGrantType authenticationGrantType) Sets the authentication grant type.void
setAuthenticationMethodOfAuthorizationServers
(CustomWrapperInputParameterOAuth20Authentication.AuthenticationMethodOfAuthorizationServers authenticationMethodOfAuthorizationServers) Sets the authentication method of the authorization servers.void
setClientIdentifier
(String clientIdentifier) Sets the client identifier.void
setClientSecret
(String clientSecret) Sets the client secret.void
setQueryParameter
(String queryParameter) Sets que name of the query parameter.void
setRefreshToken
(String refreshToken) Sets the refresh token.void
setRefreshTokenRequestExtraParameters
(Map<String, String> refreshTokenRequestExtraParameters) Sets the refresh token extra parameters.void
setRequestSigningMethod
(CustomWrapperInputParameterOAuth20Authentication.RequestSigningMethod requestSigningMethod) Sets the request signing method.void
Sets the scopes.void
setTokenEndpointURL
(String tokenEndpointURL) Sets the URL of the token endpoint.void
setUserIdentifier
(String userIdentifier) Sets the user identifier.void
setUserPassword
(String userPassword) Sets the user password.
-
Constructor Details
-
CustomWrapperInputParameterOAuth20Authentication
public CustomWrapperInputParameterOAuth20Authentication()Constructor.
-
-
Method Details
-
getAccessTokenExpiryDate
Gets the expiry date of the access token.- Returns:
- The expiry date of the access token.
-
setAccessTokenExpiryDate
Sets the expiry date of the access token.- Parameters:
accessTokenExpiryDate
- The expiry date of the access token.
-
getAccessToken
Gets the access token.- Returns:
- The access token.
-
setAccessToken
Sets the access token.- Parameters:
accessToken
- The access token.
-
getClientIdentifier
Gets the client identifier.- Returns:
- The client identifier.
-
setClientIdentifier
Sets the client identifier.- Parameters:
clientIdentifier
- The client identifier.
-
getClientSecret
Gets the client secret.- Returns:
- The client secret.
-
setClientSecret
Sets the client secret.- Parameters:
clientSecret
- The client secret.
-
getQueryParameter
Gets the name of the query parameter.- Returns:
- The name of the query parameter.
-
setQueryParameter
Sets que name of the query parameter.- Parameters:
queryParameter
- The name of the query parameter.
-
getRefreshToken
Gets the refresh token.- Returns:
- The refresh token.
-
setRefreshToken
Sets the refresh token.- Parameters:
refreshToken
- The refresh token.
-
getTokenEndpointURL
Gets the URL of the token endpoint.- Returns:
- The URL of the token endpoint.
-
setTokenEndpointURL
Sets the URL of the token endpoint.- Parameters:
tokenEndpointURL
- The URL of the token endpoint.
-
getUserIdentifier
Gets the user identifier.- Returns:
- The user identifier.
-
setUserIdentifier
Sets the user identifier.- Parameters:
userIdentifier
- The user identifier.
-
getUserPassword
Gets the user password.- Returns:
- The user password.
-
setUserPassword
Sets the user password.- Parameters:
userPassword
- The user password.
-
getAuthenticationMethodOfAuthorizationServers
public CustomWrapperInputParameterOAuth20Authentication.AuthenticationMethodOfAuthorizationServers getAuthenticationMethodOfAuthorizationServers()Gets the authentication method of the authorization servers.- Returns:
- The authentication method of the authorization servers.
-
setAuthenticationMethodOfAuthorizationServers
public void setAuthenticationMethodOfAuthorizationServers(CustomWrapperInputParameterOAuth20Authentication.AuthenticationMethodOfAuthorizationServers authenticationMethodOfAuthorizationServers) Sets the authentication method of the authorization servers.- Parameters:
authenticationMethodOfAuthorizationServers
- The authentication method of the authorization servers.
-
getAuthenticationGrantType
public CustomWrapperInputParameterOAuth20Authentication.AuthenticationGrantType getAuthenticationGrantType()Gets the authentication grant type.- Returns:
- The authentication grant type.
-
setAuthenticationGrantType
public void setAuthenticationGrantType(CustomWrapperInputParameterOAuth20Authentication.AuthenticationGrantType authenticationGrantType) Sets the authentication grant type.- Parameters:
authenticationGrantType
- The authentication grant type.
-
getRequestSigningMethod
public CustomWrapperInputParameterOAuth20Authentication.RequestSigningMethod getRequestSigningMethod()Gets the request signing method.- Returns:
- The request signing method.
-
setRequestSigningMethod
public void setRequestSigningMethod(CustomWrapperInputParameterOAuth20Authentication.RequestSigningMethod requestSigningMethod) Sets the request signing method.- Parameters:
requestSigningMethod
- The request signing method.
-
getScopes
Gets the scopes.- Returns:
- The scopes.
-
setScopes
Sets the scopes.- Parameters:
scopes
- The scopes.
-
getRefreshTokenRequestExtraParameters
Gets the refresh token extra parameters.- Returns:
- The refresh token extra parameters.
-
setRefreshTokenRequestExtraParameters
public void setRefreshTokenRequestExtraParameters(Map<String, String> refreshTokenRequestExtraParameters) Sets the refresh token extra parameters.- Parameters:
refreshTokenRequestExtraParameters
- The refresh token extra parameters.
-