code: protected static Pair<AuthnRequest, MessageContext> buildAuthenticationContextPair(final HttpServletRequest request,
                                                                                         final AuthnRequest authnRequest) {
          val messageContext = bindRelayStateParameter(request);
          return Pair.of(authnRequest, messageContext);
      }
docs: Build authentication context pair pair.
  
  @param request      the request
  @param authnRequest the authn request
  @return the pair