respondToAuthChallengeResponseBuilder.authenticationResult(AuthenticationResultTypeUnmarshaller.getInstance() .unmarshall(context));
/** * <p> * The result returned by the server in response to the request to respond to the authentication challenge. * </p> * This is a convenience that creates an instance of the {@link AuthenticationResultType.Builder} avoiding the * need to create one manually via {@link AuthenticationResultType#builder()}. * * When the {@link Consumer} completes, {@link AuthenticationResultType.Builder#build()} is called immediately * and its result is passed to {@link #authenticationResult(AuthenticationResultType)}. * * @param authenticationResult * a consumer that will call methods on {@link AuthenticationResultType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #authenticationResult(AuthenticationResultType) */ default Builder authenticationResult(Consumer<AuthenticationResultType.Builder> authenticationResult) { return authenticationResult(AuthenticationResultType.builder().applyMutation(authenticationResult).build()); } }
/** * <p> * The result returned by the server in response to the request to respond to the authentication challenge. * </p> * This is a convenience that creates an instance of the {@link AuthenticationResultType.Builder} avoiding the * need to create one manually via {@link AuthenticationResultType#builder()}. * * When the {@link Consumer} completes, {@link AuthenticationResultType.Builder#build()} is called immediately * and its result is passed to {@link #authenticationResult(AuthenticationResultType)}. * * @param authenticationResult * a consumer that will call methods on {@link AuthenticationResultType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #authenticationResult(AuthenticationResultType) */ default Builder authenticationResult(Consumer<AuthenticationResultType.Builder> authenticationResult) { return authenticationResult(AuthenticationResultType.builder().applyMutation(authenticationResult).build()); } }