public static final AuthToken fromJSON ( String json ) { try { return mapper . reader ( AuthToken . class ) . readValue ( json ) ; } catch ( Exception e ) { throw new RuntimeException ( e ) ; } }
Read the auth token from the JSON string .