Class OAuth2Resource
- java.lang.Object
-
- io.jans.ca.plugin.adminui.rest.auth.OAuth2Resource
-
@Path("/app") public class OAuth2Resource extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
SCOPE_OPENID
-
Constructor Summary
Constructors Constructor Description OAuth2Resource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.ws.rs.core.Response
getApiProtectionToken(@Valid @NotNull ApiTokenRequest apiTokenRequest, String appType)
jakarta.ws.rs.core.Response
getOAuth2Config(String appType)
-
-
-
Field Detail
-
SCOPE_OPENID
public static final String SCOPE_OPENID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getOAuth2Config
@GET @Path("/{appType}/oauth2/config") @Produces("application/json") public jakarta.ws.rs.core.Response getOAuth2Config(@PathParam("appType") String appType)
-
getApiProtectionToken
@POST @Path("/{appType}/oauth2/api-protection-token") @Produces("application/json") public jakarta.ws.rs.core.Response getApiProtectionToken(@Valid @NotNull @Valid @NotNull ApiTokenRequest apiTokenRequest, @PathParam("appType") String appType)
-
-