Package org.mockserver.oidc
package org.mockserver.oidc
-
ClassesClassDescriptionMock OIDC
/authorizeendpoint implementing the OAuth2 authorization-code grant.In-memory state backing the mock OIDC authorization-code flow.Immutable record of an issued authorization code: the redirect_uri it was bound to, optional PKCE challenge, the requested scope, and thenonceechoed from the authorize request.Record of a device code issued by the device-authorization endpoint (RFC 8628).Record of an opaque access token (issued whenOidcProviderConfiguration.isOpaqueAccessToken()) so the introspection endpoint can validate it: the claims to echo back and the absolute expiry.Immutable description of a generated OIDC provider.Mock OIDC/OAuth2 device-authorization endpoint, implementing the OAuth 2.0 Device Authorization Grant (RFC 8628 ยง3.2).Mock OIDC/OAuth2 introspection endpoint (RFC 7662).Resolves theAsymmetricKeyPairthat an OIDC provider signs tokens with and publishes via its JWKS endpoint.Mock OIDC end-session (/logout) endpoint, theend_session_endpointadvertised in the discovery document.Configuration for the OIDC mock identity provider.Generates MockServerExpectations that serve a complete set of OIDC/OAuth2 identity provider endpoints: discovery, JWKS, token, authorize, userinfo, introspection, revocation, and end-session (logout).Mock OIDC/tokenendpoint.Mints the OIDC token-endpoint response (access_token, id_token, refresh_token) at request time.