@Path(value="/oauth2") public class OAuth2Resource extends Object
Modifier and Type | Field and Description |
---|---|
static String |
MOCKED_OAUTH2_TOKEN |
Constructor and Description |
---|
OAuth2Resource(SwaggerOAuth2Configuration oAuth2Configuration) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
auth(String responseType,
String clientId,
String clientSecret,
String scope,
String redirectUri,
String realm) |
public static final String MOCKED_OAUTH2_TOKEN
public OAuth2Resource(SwaggerOAuth2Configuration oAuth2Configuration)
@GET @Path(value="/auth") @Produces(value="application/json") public javax.ws.rs.core.Response auth(@QueryParam(value="response_type") String responseType, @QueryParam(value="client_id") @DefaultValue(value="") String clientId, @QueryParam(value="client_secret") @DefaultValue(value="") String clientSecret, @QueryParam(value="scope") String scope, @QueryParam(value="redirect_uri") String redirectUri, @QueryParam(value="realm") @DefaultValue(value="") String realm) throws URISyntaxException
URISyntaxException
Copyright © 2014–2017. All rights reserved.