@RestController public class AuthController extends Object
Constructor and Description |
---|
AuthController() |
Modifier and Type | Method and Description |
---|---|
Principal |
getCurrentUser(Principal principal) |
RestResult |
getSmsToken() |
@GetMapping(value="/getCurrentUser") public Principal getCurrentUser(Principal principal)
@PostMapping(value="/sms/token") public RestResult getSmsToken()
Copyright © 2019. All rights reserved.