Class UserDetailsController
java.lang.Object
com.okta.spring.example.controllers.UserDetailsController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.servlet.ModelAndView
userDetails
(org.springframework.security.oauth2.client.authentication.OAuth2AuthenticationToken authentication)
-
Constructor Details
-
UserDetailsController
public UserDetailsController()
-
-
Method Details
-
userDetails
@GetMapping("/profile") @PreAuthorize("hasAuthority(\'SCOPE_profile\')") public org.springframework.web.servlet.ModelAndView userDetails(org.springframework.security.oauth2.client.authentication.OAuth2AuthenticationToken authentication)
-