use of oauth2.manager.ThirdPartyRegistrationService in project tesb-rt-se by Talend.
the class OAuthManagerApplication method getSingletons.
@Override
public Set<Object> getSingletons() {
Set<Object> classes = new HashSet<Object>();
ThirdPartyRegistrationService thirdPartyService = new ThirdPartyRegistrationService();
thirdPartyService.setDataProvider(manager);
AccessTokenService ats = new AccessTokenService();
ats.setDataProvider(manager);
classes.add(thirdPartyService);
classes.add(ats);
return classes;
}
Aggregations