Class IDPService
- java.lang.Object
-
- org.smallmind.sso.oauth.v2dot0.jersey.IDPService
-
public class IDPService extends Object
-
-
Constructor Summary
Constructors Constructor Description IDPService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Responseauthorization(String responseType, String clientId, String redirectUri, String scope, String acrValues, Integer maxAge, String state)javax.ws.rs.core.Responsecode(String code, String redirectUri, Integer maxAge, String state, LoginResponse loginResponse)voidsetAuthorizationHandler(AuthorizationHandler authorizationHandler)voidsetCodeContentRepository(CodeContentRepository codeContentRepository)javax.ws.rs.core.Responsetoken(String authorization, String grantType, String code, String redirectUri, String clientId, String clientSecret)
-
-
-
Method Detail
-
setAuthorizationHandler
public void setAuthorizationHandler(AuthorizationHandler authorizationHandler)
-
setCodeContentRepository
public void setCodeContentRepository(CodeContentRepository codeContentRepository)
-
authorization
public javax.ws.rs.core.Response authorization(String responseType, String clientId, String redirectUri, String scope, String acrValues, Integer maxAge, String state) throws MissingClientIdException, InvalidClientIdException, MissingRedirectUriException, InvalidRedirectUriException, MismatchingRedirectUriException
-
code
public javax.ws.rs.core.Response code(String code, String redirectUri, Integer maxAge, String state, LoginResponse loginResponse) throws MissingRedirectUriException
- Throws:
MissingRedirectUriException
-
token
public javax.ws.rs.core.Response token(String authorization, String grantType, String code, String redirectUri, String clientId, String clientSecret) throws IOException
- Throws:
IOException
-
-