Class OidcLogoutCallback

java.lang.Object
org.mockserver.oidc.OidcLogoutCallback
All Implemented Interfaces:
ExpectationCallback<HttpResponse>, ExpectationResponseCallback

public class OidcLogoutCallback extends Object implements ExpectationResponseCallback
Mock OIDC end-session (/logout) endpoint, the end_session_endpoint advertised in the discovery document.

Implements RP-initiated logout: if a post_logout_redirect_uri is supplied it 302-redirects there (echoing any state), otherwise it returns a simple 200. As a mock there is no session to invalidate.

  • Constructor Details

    • OidcLogoutCallback

      public OidcLogoutCallback()
  • Method Details