default AuthenticationResult finalizeAuthenticationTransaction(final Service service,
                                                                   final Collection<Credential> credentials) throws Throwable {
        return finalizeAuthenticationTransaction(service, credentials.toArray(Credential[]::new));
    }
Handle a single-transaction authentication event and immediately produce a finalized {@link AuthenticationResult}.

@param service     a service for this authentication event.
@param credentials credentials used for this single-transaction authentication event.
@return authentication result representing a final outcome of the authentication event.
@throws Throwable the throwable
@since 5.3.0
api/cas-server-core-api-authentication/src/main/java/org/apereo/cas/authentication/AuthenticationSystemSupport.java