protected Http buildHttpPostUserPreAuthRequest ( final String username ) { val usersRequest = new Http ( HttpMethod . POST . name ( ) , duoProperties . getDuoApiHost ( ) , String . format ( "/auth/v%s/preauth" , AUTH_API_VERSION ) ) ; usersRequest . addParam ( "username" , username ) ; return usersRequest ; }
Build http post get user auth request .