class Credentials {

    public CredentialFlowState finishAcquisition(final CredentialFlowState flowState, final URI baseUrl) {
        final CredentialProvider credentialProvider = providerFrom(flowState);

        return credentialProvider.finish(flowState, baseUrl);
    }

    @Autowired public  Credentials(final CredentialProviderLocator credentialProviderLocator, final EncryptionComponent encryptionComponent,
        final DataManager dataManager);

}