@Path(value="oidcclient/clients") public interface OIDCClientService extends JAXRSService
CRLF, DOUBLE_DASH, PARAM_ANYTYPE_KIND, PARAM_ANYTYPEKEY, PARAM_CONNID_PAGED_RESULTS_COOKIE, PARAM_DETAILS, PARAM_ENTITY_KEY, PARAM_FIQL, PARAM_MAX, PARAM_NOTIFICATION, PARAM_ORDERBY, PARAM_PAGE, PARAM_REALM, PARAM_RESOURCE, PARAM_SIZE, PARAM_USER
Modifier and Type | Method and Description |
---|---|
OIDCLoginRequestTO |
createLoginRequest(String redirectURI,
String op)
Generates OpenID Connect authentication request for the Provider matching the provided op.
|
OIDCLogoutRequestTO |
createLogoutRequest(String op)
Returns the endSession endpoint for the provided op.
|
OIDCLoginResponseTO |
login(String redirectURI,
String authorizationCode,
String op)
Uses the provided authorization code to go through the OpenID Connect tokens process and finally creates JWT for
the matching user, if found.
|
@POST @Path(value="loginRequest") @Produces(value={"application/json","application/yaml","application/xml"}) OIDCLoginRequestTO createLoginRequest(@QueryParam(value="redirect_uri") String redirectURI, @QueryParam(value="op") String op)
redirectURI
- redirect URIop
- OpenID Connect Provider@POST @Path(value="login") @Produces(value={"application/json","application/yaml","application/xml"}) OIDCLoginResponseTO login(@QueryParam(value="redirect_uri") String redirectURI, @QueryParam(value="authorizationCode") String authorizationCode, @QueryParam(value="op") String op)
redirectURI
- redirect URIauthorizationCode
- authorization code generated by the remote OpenID Connect Providerop
- OpenID Connect Provider@POST @Path(value="logout") @Produces(value={"application/json","application/yaml","application/xml"}) OIDCLogoutRequestTO createLogoutRequest(@QueryParam(value="op") String op)
op
- OpenID Connect ProviderCopyright © 2010–2023 The Apache Software Foundation. All rights reserved.