Package io.trino.server.security.oauth2
Class OAuth2TokenExchangeResource
- java.lang.Object
-
- io.trino.server.security.oauth2.OAuth2TokenExchangeResource
-
@Path("/oauth2/token/") public class OAuth2TokenExchangeResource extends Object
-
-
Constructor Summary
Constructors Constructor Description OAuth2TokenExchangeResource(OAuth2TokenExchange tokenExchange, DispatchExecutor executor)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteAuthenticationToken(UUID authId)voidgetAuthenticationToken(UUID authId, javax.ws.rs.container.AsyncResponse asyncResponse, javax.servlet.http.HttpServletRequest request)static StringgetTokenUri(UUID authId)
-
-
-
Constructor Detail
-
OAuth2TokenExchangeResource
@Inject public OAuth2TokenExchangeResource(OAuth2TokenExchange tokenExchange, DispatchExecutor executor)
-
-
Method Detail
-
getAuthenticationToken
@ResourceSecurity(PUBLIC) @Path("{authId}") @GET @Produces("text/plain") public void getAuthenticationToken(@PathParam("authId") UUID authId, @Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @Context javax.servlet.http.HttpServletRequest request)
-
deleteAuthenticationToken
@ResourceSecurity(PUBLIC) @DELETE @Path("{authId}") public void deleteAuthenticationToken(@PathParam("authId") UUID authId)
-
-