use of org.forgerock.openam.rest.audit.OAuth2AuditSSOTokenContextProvider in project OpenAM by OpenRock.
the class OAuth2GuiceModule method getOAuth2AuditContextProviders.
@Inject
@Provides
@Singleton
@Named(OAUTH2_AUDIT_CONTEXT_PROVIDERS)
Set<OAuth2AuditContextProvider> getOAuth2AuditContextProviders(TokenStore tokenStore, OAuth2RequestFactory<?, Request> requestFactory) {
Set<OAuth2AuditContextProvider> set = new HashSet<>();
set.add(new OAuth2AuditAccessTokenContextProvider(tokenStore, requestFactory));
set.add(new OAuth2AuditRefreshTokenContextProvider(tokenStore, requestFactory));
set.add(new OAuth2AuditSSOTokenContextProvider());
return set;
}
Aggregations