@Override
    @CanIgnoreReturnValue
    public AuthenticationTransaction collect(final Collection<Authentication> authentications) {
        this.authentications.addAll(authentications);
        return this;
    }
This is {@link DefaultAuthenticationTransaction}.

@author Misagh Moayyed
@since 4.2.0
core/cas-server-core-authentication-api/src/main/java/org/apereo/cas/authentication/DefaultAuthenticationTransaction.java