Class UserController

java.lang.Object
org.allGraphQLCases.server.oauth2.UserController

@RestController
@RequestMapping("/me")
public class UserController
extends Object
  • Constructor Details

  • Method Details

    • get

      @GetMapping @PreAuthorize("hasRole(\'ROLE_USER\')") public org.springframework.http.ResponseEntity<Principal> get​(Principal principal)