List of usage examples for org.springframework.security.oauth2.provider OAuth2Authentication getCredentials
public Object getCredentials()
From source file:com.ar.dev.tierra.api.controller.UsuariosController.java
@RequestMapping(value = "/logged", method = RequestMethod.POST) public ResponseEntity<?> isLogged(OAuth2Authentication authentication) { String credential = (String) authentication.getCredentials(); return null;// w w w . jav a 2s. c o m }