Package io.sentry.spring
Interface SentryUserProvider
-
- All Known Implementing Classes:
HttpServletRequestSentryUserProvider
,SpringSecuritySentryUserProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface SentryUserProvider
Provides user information that's set onSentryEvent
usingSentryUserProviderEventProcessor
.Out of the box Spring integration configures single
SentryUserProvider
-HttpServletRequestSentryUserProvider
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable io.sentry.protocol.User
provideUser()
-