单项选择题

在Spring Security中,哪个接口用于获取用户信息()

A.ReactiveUserDetailsService
B.UserDetailsService
C.AuthenticationManager
D.SecurityContextRepository