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
getAccessToken(String code, String codeVerifier, String appType)
jakarta.ws.rs.core.Response
getApiProtectionToken(String ujwt, String appType)
jakarta.ws.rs.core.Response
getOAuth2Config(String appType)
jakarta.ws.rs.core.Response
getUserInfo(@Valid @NotNull UserInfoRequest userInfoRequest, 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)
-
getAccessToken
@GET @Path("/{appType}/oauth2/access-token") @Produces("application/json") public jakarta.ws.rs.core.Response getAccessToken(@QueryParam("code") String code, @PathParam("codeVerifier") String codeVerifier, @PathParam("appType") String appType)
-
getApiProtectionToken
@GET @Path("/{appType}/oauth2/api-protection-token") @Produces("application/json") public jakarta.ws.rs.core.Response getApiProtectionToken(@QueryParam("ujwt") String ujwt, @PathParam("appType") String appType)
-
getUserInfo
@POST @Path("/{appType}/oauth2/user-info") @Produces("application/json") public jakarta.ws.rs.core.Response getUserInfo(@Valid @NotNull @Valid @NotNull UserInfoRequest userInfoRequest, @PathParam("appType") String appType)
-
-