Class OAuth2Service
- java.lang.Object
-
- io.jans.ca.plugin.adminui.service.BaseService
-
- io.jans.ca.plugin.adminui.service.auth.OAuth2Service
-
@Singleton public class OAuth2Service extends BaseService
-
-
Constructor Summary
Constructors Constructor Description OAuth2Service()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TokenResponse
getApiProtectionToken(ApiTokenRequest apiTokenRequest, String appType)
Calls token endpoint from the Identity Provider and returns a valid Access Token.-
Methods inherited from class io.jans.ca.plugin.adminui.service.BaseService
executeDCR, getClaims, getToken, getToken, introspectToken
-
-
-
-
Method Detail
-
getApiProtectionToken
public TokenResponse getApiProtectionToken(ApiTokenRequest apiTokenRequest, String appType) throws ApplicationException
Calls token endpoint from the Identity Provider and returns a valid Access Token.- Throws:
ApplicationException
-
-