Class OAuthRequests
java.lang.Object
org.apache.drill.exec.server.rest.OAuthRequests
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic javax.ws.rs.core.Response
updateAccessToken
(String name, OAuthTokenContainer tokens, StoragePluginRegistry storage, DrillRestServer.UserAuthEnabled authEnabled, javax.ws.rs.core.SecurityContext sc) static javax.ws.rs.core.Response
updateAuthToken
(String name, String code, javax.servlet.http.HttpServletRequest request, StoragePluginRegistry storage, DrillRestServer.UserAuthEnabled authEnabled, javax.ws.rs.core.SecurityContext sc) static javax.ws.rs.core.Response
updateOAuthTokens
(String name, OAuthTokenContainer tokenContainer, StoragePluginRegistry storage, DrillRestServer.UserAuthEnabled authEnabled, javax.ws.rs.core.SecurityContext sc) static javax.ws.rs.core.Response
updateRefreshToken
(String name, OAuthTokenContainer tokens, StoragePluginRegistry storage, DrillRestServer.UserAuthEnabled authEnabled, javax.ws.rs.core.SecurityContext sc)
-
Constructor Details
-
OAuthRequests
public OAuthRequests()
-
-
Method Details
-
updateAccessToken
public static javax.ws.rs.core.Response updateAccessToken(String name, OAuthTokenContainer tokens, StoragePluginRegistry storage, DrillRestServer.UserAuthEnabled authEnabled, javax.ws.rs.core.SecurityContext sc) -
updateRefreshToken
public static javax.ws.rs.core.Response updateRefreshToken(String name, OAuthTokenContainer tokens, StoragePluginRegistry storage, DrillRestServer.UserAuthEnabled authEnabled, javax.ws.rs.core.SecurityContext sc) -
updateOAuthTokens
public static javax.ws.rs.core.Response updateOAuthTokens(String name, OAuthTokenContainer tokenContainer, StoragePluginRegistry storage, DrillRestServer.UserAuthEnabled authEnabled, javax.ws.rs.core.SecurityContext sc) -
updateAuthToken
public static javax.ws.rs.core.Response updateAuthToken(String name, String code, javax.servlet.http.HttpServletRequest request, StoragePluginRegistry storage, DrillRestServer.UserAuthEnabled authEnabled, javax.ws.rs.core.SecurityContext sc)
-