public class OIDCRequestBuilder extends Object
OIDCManager based on the OIDCAgentConfig.
OIDCRequestBuilder can build:
and return the String values of the generated requests.
| Constructor and Description |
|---|
OIDCRequestBuilder(OIDCAgentConfig oidcAgentConfig) |
| Modifier and Type | Method and Description |
|---|---|
AuthenticationRequest |
buildAuthenticationRequest()
Returns
AuthenticationRequest Authentication request. |
LogoutRequest |
buildLogoutRequest(SessionContext sessionContext)
Returns
LogoutRequest Logout request. |
public OIDCRequestBuilder(OIDCAgentConfig oidcAgentConfig)
public AuthenticationRequest buildAuthenticationRequest()
AuthenticationRequest Authentication request.
To build the authentication request, OIDCAgentConfig should contain:
public LogoutRequest buildLogoutRequest(SessionContext sessionContext) throws SSOAgentServerException
LogoutRequest Logout request. To build the logout request,
OIDCAgentConfig should contain:
sessionContext - SessionContext object with information of the current LoggedIn session.
It must include a valid ID token.SSOAgentServerExceptionCopyright © 2021 WSO2. All rights reserved.