public < P extends ParaObject > P me ( String accessToken ) { if ( ! StringUtils . isBlank ( accessToken ) ) { String auth = accessToken . startsWith ( "Bearer" ) ? accessToken : "Bearer " + accessToken ; Response res = invokeSignedRequest ( getApiClient ( ) , accessKey , auth , GET , getEndpoint ( ) , getFullPath ( "_me" ) , null , null , new byte [ 0 ] ) ; Map < String , Object > data = getEntity ( res , Map . class ) ; return ParaObjectUtils . setAnnotatedFields ( data ) ; } return me ( ) ; }
Verifies a given JWT and returns the authenticated subject . This request will not remember the JWT in memory .