Package io.jans.casa.core
Class OIDCFlowService
java.lang.Object
io.jans.casa.core.OIDCFlowService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAuthnRequestUrl(String acr) getAuthnRequestUrl(List<String> acrValues, String prompt) getUserClaims(String accessToken) validateAuthnResponse(String uri, String expectedState)
-
Constructor Details
-
OIDCFlowService
public OIDCFlowService()
-
-
Method Details
-
getAuthnRequestUrl
public org.zkoss.util.Pair<String,String> getAuthnRequestUrl(String acr) throws com.nimbusds.oauth2.sdk.GeneralException - Throws:
com.nimbusds.oauth2.sdk.GeneralException
-
getAuthnRequestUrl
public org.zkoss.util.Pair<String,String> getAuthnRequestUrl(List<String> acrValues, String prompt) throws com.nimbusds.oauth2.sdk.GeneralException - Throws:
com.nimbusds.oauth2.sdk.GeneralException
-
validateAuthnResponse
public String validateAuthnResponse(String uri, String expectedState) throws com.nimbusds.oauth2.sdk.GeneralException - Throws:
com.nimbusds.oauth2.sdk.GeneralException
-
getTokens
public org.zkoss.util.Pair<String,String> getTokens(String code) throws com.nimbusds.oauth2.sdk.GeneralException - Throws:
com.nimbusds.oauth2.sdk.GeneralException
-
getUserClaims
public Map<String,Object> getUserClaims(String accessToken) throws com.nimbusds.oauth2.sdk.GeneralException - Throws:
com.nimbusds.oauth2.sdk.GeneralException
-
getLogoutUrl
-